ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | enhydra List | May 2005 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [enhydra] EE 6.3 Bugs?


Hi,

1) Error issue:

EngineConfigurationFactoryServlet.getServerEngineConfig :    Unable to find
config file.  Creating new servlet engine config file:
/WEB-INF/server-config.wsdd

This message is displayed by AXIS webapp ('axis' directory in
webapps/autoload). We (in Enhydra Enterprise) are deploying AXIS webapp as
logical place for your web service installation. Initially, it comes without
any 'web services' deployed and without any deployment descriptor (WSDD
file). With this message Axis is telling just that he wasn't able to find
'server-config.wsdd' file and that he will create temporary one.
In our next release we will add empty (without any 'web services' deployed)
deployment descriptor
(<enhydra_root>/multiserver/webapps/autoload/axis/WEB-INF/server-config.wsdd
) just to remove this ugly ERROR message : )

For now, you can generate it yourself or remove (uninstall) axis web
application (Setup Component: Multiserver->Enhydra Administrative
Tools->Apache Axis) if you aren't deploying any axis service of you own
trough it!

Here is (sample) content of emty 'server-config.wsdd'
-----------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns="http://xml.apache.org/axis/wsdd/";
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
</deployment>

2) Logging issue

Cleanest way to configure additional ACCESS logger in Enhydra Enterprise
(JOnAS) would be to do it over 'jonasAdmin' application.

1. Login to 'jonasAdmin' application (default: admin/enhydra)
2. Browse tree: Domain (EnhydraEnterprise)->Server JOnAS
(EnhydraEnterprise)->Logging
3. On Right Frame you will notice 'New HTTP Access logger' button. Click on
it!
4. You should be able to see 'New HTTP Access logger' tab now. Here you can
additionally modify default logger parameters and save modified (or default)
logger configuration.
NOTE: You will get 'Global error' message (this is JOnAS problem and I
didn't have time to analyze it jet) but job will eventually get done (logger
will be configured and initialized).
5. Browse tree: Domain (EnhydraEnterprise)->Server JOnAS
(EnhydraEnterprise)->Logging->(newly created) HTTP Access logger
6. Complete 'save' operation (everything should go smooth this time)
7. Confirm your server configuration changes by clicking "Save All" button
(on opened Domain (EnhydraEnterprise)->Server JOnAS
(EnhydraEnterprise)->Servlet Server tab).

Basically, you have defined a new Tomcat Valve element in your Host
definition (in '<enhydra_root>/multiserver/conf/server.xml' file) which (by
default) looks like this:

<Valve className="org.apache.catalina.valves.AccessLogValve"
fileDateFormat="yyyy-MM-dd" suffix=".txt"/>

So, you can actually do it manually (just note that you would have to
restart your Enhydra Enterprise server after those modifications)!

Regards,
     Slobodan Vujasinovic
Enhydra Development Team


----- Original Message -----
From: "Lofi Dewanto" <dewanto@xxxxxx>
To: "enhydra" <enhydra@xxxxxxxxxxx>
Sent: Thursday, May 26, 2005 12:56 PM
Subject: [enhydra] EE 6.3 Bugs?


> Hello Enhydra community,
>
> I tried EE 6.3, great thing, the installation works very smooth!
>
> I encountered following problems:
>
> 1) I always get this error if I start EE:
> 2005-05-24 19:10:15,671 : ERROR : main :
> EngineConfigurationFactoryServlet.getServerEngineConfig :    Unable to
> find config file.  Creating new servlet engine config file:
> /WEB-INF/server-config.wsdd
>
> 2) I wonder why I cannot find log4j.xml to turn on access.log? Adding
> the file log4j.xml from EE 6.2 to the conf directory gives me this error
> below. Is there any way to turn on all the access.log files?
>
> JONAS_BASE is set to C:\enhydra-enterprise-6.3\multiserver\
> log4j:ERROR setFile(null,true) call failed.
> java.io.FileNotFoundException: logs\access.log (Das System kann den
> angegebenen
> Pfad nicht finden)
>          at java.io.FileOutputStream.openAppend(Native Method)
>          at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
>          at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
>          at org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
>          at
> org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java
> :156)
>          at
> org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151)
>          at
> org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:2
> 47)
>          at
> org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.ja
> va:210)
>          at
> org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurat
> or.java:140)
>          at
> org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfi
> gurator.java:153)
>          at
> org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOM
> Configurator.java:415)
>          at
> org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.ja
> va:335)
>          at
> org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:781)
>          at
> org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java
> :666)
>          at
> org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java
> :616)
>          at
> org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java
> :602)
>          at
> org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionCon
> verter.java:460)
>          at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
>          at org.apache.log4j.Category.getRoot(Category.java:595)
>          at
> org.objectweb.util.monolog.wrapper.log4j.MonologLoggerFactory.<clinit
>  >(MonologLoggerFactory.java:72)
>          at java.lang.Class.forName0(Native Method)
>          at java.lang.Class.forName(Class.java:141)
>          at org.objectweb.jonas.common.Log.getLoggerFactory(Log.java:387)
>          at org.objectweb.jonas.common.Log.configure(Log.java:206)
>          at org.objectweb.jonas.server.Server.<init>(Server.java:266)
>          at org.objectweb.jonas.server.Server.getInstance(Server.java:160)
>          at org.objectweb.jonas.server.Server.main(Server.java:178)
>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>          at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>          at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>          at java.lang.reflect.Method.invoke(Method.java:324)
>          at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97)
> log4j:ERROR setFile(null,true) call failed.
> java.io.FileNotFoundException: logs\server.log (Das System kann den
> angegebenen
> Pfad nicht finden)
>          at java.io.FileOutputStream.openAppend(Native Method)
>          at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
>          at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
>          at org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
>          at
> org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java
> :156)
>          at
> org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151)
>          at
> org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:2
> 47)
>          at
> org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.ja
> va:210)
>          at
> org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurat
> or.java:140)
>          at
> org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfi
> gurator.java:153)
>          at
> org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOM
> Configurator.java:415)
>          at
> org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:3
> 84)
>          at
> org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783)
>          at
> org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java
> :666)
>          at
> org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java
> :616)
>          at
> org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java
> :602)
>          at
> org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionCon
> verter.java:460)
>          at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
>          at org.apache.log4j.Category.getRoot(Category.java:595)
>          at
> org.objectweb.util.monolog.wrapper.log4j.MonologLoggerFactory.<clinit
>  >(MonologLoggerFactory.java:72)
>          at java.lang.Class.forName0(Native Method)
>          at java.lang.Class.forName(Class.java:141)
>          at org.objectweb.jonas.common.Log.getLoggerFactory(Log.java:387)
>          at org.objectweb.jonas.common.Log.configure(Log.java:206)
>          at org.objectweb.jonas.server.Server.<init>(Server.java:266)
>          at org.objectweb.jonas.server.Server.getInstance(Server.java:160)
>          at org.objectweb.jonas.server.Server.main(Server.java:178)
>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>          at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>          at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>          at java.lang.reflect.Method.invoke(Method.java:324)
>          at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97)
> 2005-05-26 12:52:08,781 : PolicyProvider.init : Using JOnAS
> PolicyConfigurationF
> actory provider and JOnAS Policy provider
> 2005-05-26 12:52:09,609 : TraceCarol.infoCarol : Name service for jrmp
> is starte
> d on port 1099
> 2005-05-26 12:52:09,609 : TraceCarol.infoCarol : Name service for
> conffile is st
> arted on port 0
> 2005-05-26 12:52:09,625 : TraceCarol.infoCarol : Name service for
> webxmlfile is
> started on port 0
>
> Thanks a lot!
> --
> ---------------------------------------------------
> Blasius Lofi Dewanto
> ---------------------------------------------------
> OpenUSS - Open University Support System
> http://openuss.sourceforge.net
> ---------------------------------------------------
> E-Mail   : dewanto@xxxxxxxxxxxxxxx
> ---------------------------------------------------
>
>
>
>
>


----------------------------------------------------------------------------
----


>
> --
> You receive this message as a subscriber of the enhydra@xxxxxxxxxxxxx
mailing list.
> To unsubscribe: mailto:enhydra-unsubscribe@xxxxxxxxxxxxx
> For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>




<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.