Hi,

i spent 3 hours trying to enable the JAWS debug mode in vain (Jboss 2.4.2)!

Do you see a problem in my config files, thanks in advance

Stephane

-------------------------------------------log4j.properties-----------------
--------

# A log4j properties file suitable for replacing the
# default JBoss ConsoleLogging & FileLogging mbeans.

# Set the JBossCategoryFactory as the default CategoryFactory
log4j.categoryFactory=org.jboss.logging.log4j.JBossCategory$JBossCategoryFac
tory

log4j.rootCategory=DEBUG, Default, Console

### The server.log file appender
log4j.appender.Default=org.apache.log4j.FileAppender
log4j.appender.Default.File=../log/server.log
log4j.appender.Default.layout=org.apache.log4j.PatternLayout
# Use the default JBoss format
log4j.appender.Default.layout.ConversionPattern=[%c{1}] %m%n
# Truncate if it aleady exists.
log4j.appender.Default.Append=false
#Example of turning off logging for a category. Uncomment to turn off.
#log4j.category.DefaultDS=FATAL

### The console appender
log4j.appender.Console=org.jboss.logging.log4j.ConsoleAppender
#log4j.appender.Console.Threshold=INFO
log4j.appender.Console.layout=org.apache.log4j.PatternLayout
log4j.appender.Console.layout.ConversionPattern=[%c{1}] %m%n

# Example of only showing INFO msgs for any categories under org.jboss.util
#log4j.category.org.jboss.util=INFO

# An example of enabling the custom TRACE level priority that is used
# by the JBoss internals to diagnose low level details. This example
# turns on TRACE level msgs for the org.jboss.ejb.plugins package and its
# subpackages. This will produce A LOT of logging output.
#log4j.category.org.jboss.ejb.plugins=TRACE#org.jboss.logging.log4j.TracePri
ority

------------------------------------------jaws.xlm--------------------------
-------------


<jaws>
  <datasource>MyDataDS</datasource>
  <type-mapping>PostgreSQL</type-mapping>

  <default-entity>
     <create-table>false</create-table>
     <remove-table>false</remove-table>
     <tuned-updates>false</tuned-updates>
     <read-only>false</read-only>
     <time-out>300</time-out>
     <select-for-update>false</select-for-update>
  </default-entity>

  <debug>true</debug>
  
  <enterprise-beans>
..
  </enterprise-beans>
</jaws>
----------------------------------------------------------------------------
--------------


-----Message d'origine-----
De : Papo Napolitano [mailto:[EMAIL PROTECTED]]
Envoy� : Friday, October 05, 2001 5:01 PM
� : jboss
Objet : [JBoss-user] Jboss 2.4.2 - exception unloading sessions to
persis tent storage


I'm getting this error message when I make an autodeploy of my application.
It work's ok, but I want to know what happening exactly.

Error Message:

[J2EE Deployer Default] Stopping module usermanager.jar
[Container factory]
Undeploying:file:/usr/JBoss-2.4.2_Tomcat-4.0/jboss/tmp/deploy/Default/userma
nager.jar
[ContainerManagement] Stopping
[ContainerManagement] Stopped
[ContainerManagement] Destroying
[ContainerManagement] Destroyed
[ContainerManagement] Destroying
[ContainerManagement] Destroyed
[Container factory] Undeployed application:
file:/usr/JBoss-2.4.2_Tomcat-4.0/jboss/tmp/deploy/Default/usermanager.jar
[J2EE Deployer Default] Destroying application usermanager.jar
[J2EE Deployer Default] Stopping module bcu.war
[EmbeddedCatalinaServiceSX] StandardHost[localhost]: Removing web
application at context path /bcu
[EmbeddedCatalinaServiceSX] StandardManager[/bcu] IOException while saving
persisted sessions: java.rmi.MarshalException: Invalid remote object
java.rmi.MarshalException: Invalid remote object
        at java.rmi.server.RemoteObject.writeObject(RemoteObject.java:153)
        at java.lang.reflect.Method.invoke(Native Method)
        at
java.io.ObjectOutputStream.invokeObjectWriter(ObjectOutputStream.java:1864)
        at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1210)
        at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
        at
org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.writeExternal(GenericProx
y.java:195)
        at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1180)
        at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
        at
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1827)
        at
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)
        at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1214)
        at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
        at org.apache.catalina.session.StandardSession.writeObject(Unknown
Source)
        at
org.apache.catalina.session.StandardSession.writeObjectData(Unknown Source)
        at org.apache.catalina.session.StandardManager.unload(Unknown
Source)
        at org.apache.catalina.session.StandardManager.stop(Unknown Source)
        at org.apache.catalina.core.ContainerBase.stop(Unknown Source)
        at org.apache.catalina.core.StandardContext.stop(Unknown Source)
        at org.apache.catalina.core.ContainerBase.removeChild(Unknown
Source)
        at org.apache.catalina.core.StandardHost.remove(Unknown Source)
        at
org.jboss.web.catalina.EmbeddedCatalinaServiceSX.performUndeploy(EmbeddedCat
alinaServiceSX.java:270)
        at
org.jboss.web.AbstractWebContainer.undeploy(AbstractWebContainer.java:224)
        at java.lang.reflect.Method.invoke(Native Method)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
        at
org.jboss.deployment.J2eeDeployer.stopModule(J2eeDeployer.java:598)
        at
org.jboss.deployment.J2eeDeployer.stopApplication(J2eeDeployer.java:564)
        at
org.jboss.deployment.J2eeDeployer.stopService(J2eeDeployer.java:386)
        at
org.jboss.util.ServiceMBeanSupport.stop(ServiceMBeanSupport.java:138)
        at java.lang.reflect.Method.invoke(Native Method)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
        at
org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(Configurati
onService.java:836)
        at $Proxy0.stop(Unknown Source)
        at org.jboss.util.ServiceControl.stop(ServiceControl.java:107)
        at java.lang.reflect.Method.invoke(Native Method)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
        at org.jboss.util.Shutdown.shutdownServices(Shutdown.java:87)
        at org.jboss.util.Shutdown$1.run(Shutdown.java:56)
[EmbeddedCatalinaServiceSX] StandardManager[/bcu] Exception unloading
sessions to persistent storage
java.rmi.MarshalException: Invalid remote object
        at java.rmi.server.RemoteObject.writeObject(RemoteObject.java:153)
        at java.lang.reflect.Method.invoke(Native Method)
        at
java.io.ObjectOutputStream.invokeObjectWriter(ObjectOutputStream.java:1864)
        at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1210)
        at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
        at
org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.writeExternal(GenericProx
y.java:195)
        at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1180)
        at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
        at
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1827)
        at
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)
        at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1214)
        at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
        at org.apache.catalina.session.StandardSession.writeObject(Unknown
Source)
        at
org.apache.catalina.session.StandardSession.writeObjectData(Unknown Source)
        at org.apache.catalina.session.StandardManager.unload(Unknown
Source)
        at org.apache.catalina.session.StandardManager.stop(Unknown Source)
        at org.apache.catalina.core.ContainerBase.stop(Unknown Source)
        at org.apache.catalina.core.StandardContext.stop(Unknown Source)
        at org.apache.catalina.core.ContainerBase.removeChild(Unknown
Source)
        at org.apache.catalina.core.StandardHost.remove(Unknown Source)
        at
org.jboss.web.catalina.EmbeddedCatalinaServiceSX.performUndeploy(EmbeddedCat
alinaServiceSX.java:270)
        at
org.jboss.web.AbstractWebContainer.undeploy(AbstractWebContainer.java:224)
        at java.lang.reflect.Method.invoke(Native Method)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
        at
org.jboss.deployment.J2eeDeployer.stopModule(J2eeDeployer.java:598)
        at
org.jboss.deployment.J2eeDeployer.stopApplication(J2eeDeployer.java:564)
        at
org.jboss.deployment.J2eeDeployer.stopService(J2eeDeployer.java:386)
        at
org.jboss.util.ServiceMBeanSupport.stop(ServiceMBeanSupport.java:138)
        at java.lang.reflect.Method.invoke(Native Method)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
        at
org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(Configurati
onService.java:836)
        at $Proxy0.stop(Unknown Source)
        at org.jboss.util.ServiceControl.stop(ServiceControl.java:107)
        at java.lang.reflect.Method.invoke(Native Method)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
        at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
        at org.jboss.util.Shutdown.shutdownServices(Shutdown.java:87)
        at org.jboss.util.Shutdown$1.run(Shutdown.java:56)
[J2EE Deployer Default] Stopping module bcu.war
[Container factory]
Undeploying:file:/usr/JBoss-2.4.2_Tomcat-4.0/jboss/tmp/deploy/Default/bcu.wa
r
[Container factory] Undeployed application:
file:/usr/JBoss-2.4.2_Tomcat-4.0/jboss/tmp/deploy/Default/bcu.war
[J2EE Deployer Default] Destroying application bcu.war


Regards
Papo


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


========================================================================= 
Ce message et toutes les pi�ces jointes sont propri�t� de VALTECH et 
susceptibles de contenir des informations confidentielles � l'intention 
exclusive de ses destinataires. Si vous avez re�u ce message par erreur 
ou si celui ci vous est parvenu incomplet ou alt�r�, merci d'en avertir 
l'exp�diteur par retour.Toute utilisation, diffusion ou publication non 
express�ment autoris�e par nous par �crit est strictement interdite. 
 -------------------------------------------------------------------------- 
This message and any attachments are Valtech property and may contain 
iconfidential information intended solely for the addressees. If your are 
not the intended recipient of this message or if you have received it 
uncomplete or altered, please notify the author by replying to his e-mail 
immediately. Any unauthorised use, diffusion or dissemination not 
expressly authorised by us in writing is strictly prohibited. 
========================================================================= 
Copyright Valtech 2000 
----------------------------------------- (on srvmtp01.unibail.fr)

This message is confidential; its contents do not constitute a commitment 
by the sender's society except where provided for in a written agreement
between you and sender's society. Any unauthorised disclosure, use or 
dissemination, either whole or partial, is prohibited. If you are not the intended 
recipient of the message, please notify the sender immediately.

Ce message est confidentiel ; son contenu ne represente en aucun cas un 
engagement de la part de la societe de l'emetteur sous reserve de tout accord 
conclu par ecrit entre vous et la societe de l'emetteur. Toute publication, 
utilisation ou diffusion, meme  partielle, doit etre autorisee prealablement. 
Si vous n'etes pas destinataire de ce message, merci d'en avertir immediatement 
l'expediteur.      

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

Reply via email to