-- Original Message --

>Send JBoss-user mailing list submissions to
>       [EMAIL PROTECTED]
>
>To subscribe or unsubscribe via the World Wide Web, visit
>       http://lists.sourceforge.net/lists/listinfo/jboss-user
>or, via email, send a message with subject or body 'help' to
>       [EMAIL PROTECTED]
>
>You can reach the person managing the list at
>       [EMAIL PROTECTED]
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of JBoss-user digest..."
>
>
>Today's Topics:
>
>   1. Re: javax.naming.NameNotFoundException: Invalid name:/TransactionMana
>ger Problem (Burkhard Vogel)
>   2. Re: Primitive Types in Entity beans (Burkhard Vogel)
>   3. Starup hangs when loading sqlserver-drivers. (Nicolas Serrador Ivering)
>   4. RE: RE: Embedded Tomcat with JBoss Not Able to Call
>       JSPs ([EMAIL PROTECTED])
>   5. tomcat-test.ear not working (Heiko Dittrich)
>   6. Problem with XML-Parser? (Hajo Hindriks)
>   7. Re: ear file manifest classpath problem ? ([EMAIL PROTECTED])
>   8. Re: EOFException using MDB with standalone JMS client
>       and XAException - XAER_NOTA (Dmitri Colebatch)
>
>--__--__--
>
>Message: 1
>From: "Burkhard Vogel" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: Re: [JBoss-user] javax.naming.NameNotFoundException: Invalid 
>name:/TransactionMana
>ger Problem
>Date: Wed, 18 Jul 2001 14:35:34 +0200
>Reply-To: [EMAIL PROTECTED]
>
>Hi,
>have you commented out the part:
>  <!-- Transactions -->
>  <mbean code="org.jboss.tm.TransactionManagerService"
>name="DefaultDomain:service=TransactionManager">
>    <attribute name="TransactionTimeout">300</attribute>
>  </mbean>
>from your jboss.jcml? if so, don't do it!
>Transactions are needed by jboss.
>Burkhard
>----- Original Message -----
>From: "James Magee" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Wednesday, July 18, 2001 12:05 PM
>Subject: [JBoss-user] javax.naming.NameNotFoundException: Invalid
>name:/TransactionMana ger Problem
>
>
>> hello people,
>> I get the following error when attempting to deploy the sample interest
>app.
>> I am using jboss-2.1 and jdk1.3.0_02
>> Could anyone help please, I don't have a clue.
>> Thanks very much.
>> Jimmy.
>>
>>
>> [J2EE Deployer Default] Create application interest.jar
>> [J2EE Deployer Default] install module interest.jar
>> [Container Factory] Deploying file:/C..................../interest.jar
>> [Verifer] Verifying file file:/C................/interest.jar/ejb1003.jar
>> [Container Factory] Deploying Interest
>> [Container Factory] javax.naming.NameNotFoundException: Invalid
>> name:/TransactionManager
>>
>>
>> CONFIDENTIALITY NOTICE
>> This email is private and confidential and may contain legally privileged
>> information. If you are not named above as an addressee it may be unlawful
>> for you to read, copy, distribute, disclose or otherwise use the
>information
>> in this email. If you are not the intended recipient of this email please
>> contact our systems manager.
>> Thank you.
>> Any views or opinions presented are solely those of the author and do
>not
>> necessarily represent those of the company or its associated companies
>> unless otherwise specifically stated.
>>
>>
>>
>> _______________________________________________
>> JBoss-user mailing list
>> [EMAIL PROTECTED]
>> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>
>--__--__--
>
>Message: 2
>From: "Burkhard Vogel" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: Re: [JBoss-user] Primitive Types in Entity beans
>Date: Wed, 18 Jul 2001 14:39:55 +0200
>Reply-To: [EMAIL PROTECTED]
>
>Hi,
>just guessing here, but do you mean lost after passivation/activation?
or
>lost when?
>If on passivation/activation this is because primitives are not Serializable
>(However if the class implements Serializable? Heck, who knows this?).
>Burkhard
>----- Original Message -----
>From: "jK.MkIII" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Wednesday, July 18, 2001 1:39 PM
>Subject: Re: [JBoss-user] Primitive Types in Entity beans
>
>
>> Miguel Angel Medina Lopez wrote:
>>   Hi:
>>   I'm implementing an entity bean that manage persintence (BMP). I declare
>>   the entity variables with primitive types like float and boolean.
>>
>>   The problem is that the values of these variables seem to be lost,
but
>>   if I use a object from Float class (an not from float type) it's work
>>   well.
>>
>>   Is that normal? I always must use java classes and not primitive types?
>>
>> Hmm? With BMP (Bean Managed Persistency) you can have your variable stored
>in whatever format you wish, even convert them to gifs if you wish.. because
>you will be doing SQL calls (or what ever) that store and load them.
>> Are you sure you aren't talking about CMP (Container Managed Persistency)
>where container handles stuff that keeps entity beans persistent? Haven't
>worked with them yet so can't answer from top of my head.
>>
>> --
>>     jK.MkIII
>>
>>   _______________________________________________ JBoss-user mailing
list
>[EMAIL PROTECTED]
>http://lists.sourceforge.net/lists/listinfo/jboss-user
>>
>>
>
>
>
>--__--__--
>
>Message: 3
>Date: Wed, 18 Jul 2001 14:52:22 +0200
>From: Nicolas Serrador Ivering <[EMAIL PROTECTED]>
>To: jboss-user <[EMAIL PROTECTED]>
>Subject: [JBoss-user] Starup hangs when loading sqlserver-drivers.
>Reply-To: [EMAIL PROTECTED]
>
>Hi.
>I've downloaded and built the latest cvs snapshot. When XADataSourceLoade=
>r is=20
>loading the driver it hangs after the message "[PersonDB1] XA Connection
>=
>pool=20
>PersonDB1 bound to java:/PersonDB1"
>
>The output from the server:
>
>
>JBOSS_CLASSPATH=3D:run.jar:../lib/crimson.jar:run.jar:../lib/crimson.jar:=
>run.jar:../lib/crimson.jar:run.jar:../lib/crimson.jar:run.jar:../lib/crim=
>son.jar:run.jar:../lib/crimson.jar:run.jar:../lib/crimson.jar:run.jar:../=
>lib/crimson.jar:run.jar:../lib/crimson.jar:run.jar:../lib/crimson.jar:run=
>.jar:../lib/crimson.jar:run.jar:../lib/crimson.jar:run.jar:../lib/crimson=
>.jar:run.jar:../lib/crimson.jar:run.jar:../lib/crimson.jar:run.jar:../lib=
>/crimson.jar:run.jar:../lib/crimson.jar
>jboss.home =3D /opt/java/JBoss-2.5cvs
>Using JAAS LoginConfig: file:/opt/java/JBoss-2.5cvs/conf/default/auth.con=
>f
>Using configuration "default"
>[root] Started Log4jService,=20
>config=3Dfile:/opt/java/JBoss-2.5cvs/conf/default/log4j.properties
>[Info] Java version: 1.3.1,Sun Microsystems Inc.
>[Info] Java VM: Java HotSpot(TM) Server VM 1.3.1-b24,Sun Microsystems Inc.
>[Info] System: Linux 2.4.0-4GB,i386
>[Shutdown] Shutdown hook added
>[ServiceControl] Initializing 28 MBeans
>[WebService] Initializing
>[WebService] Initialized
>[NamingService] Initializing
>[NamingService] Initialized
>[JNDIView] Initializing
>[JNDIView] Initialized
>[TransactionManagerService] Initializing
>[TransactionManagerService] Initialized
>[ClientUserTransactionService] Initializing
>[ClientUserTransactionService] Initialized
>[JaasSecurityManagerService] Initializing
>[JaasSecurityManagerService] Initialized
>[JdbcProvider] Initializing
>[JdbcProvider] Loaded JDBC-driver:org.hsql.jdbcDriver
>[JdbcProvider] Loaded JDBC-driver:org.enhydra.instantdb.jdbc.idbDriver
>[JdbcProvider] Initialized
>[HypersonicDatabase] Initializing
>[HypersonicDatabase] Initialized
>[XADataSourceLoader] Initializing
>[XADataSourceLoader] Initialized
>[XADataSourceLoader] Initializing
>[XADataSourceLoader] Initialized
>[XADataSourceLoader] Initializing
>[XADataSourceLoader] Initialized
>[ServerDataCollector] Initializing
>[ServerDataCollector] Initialized
>[ContainerFactory] Initializing
>[ContainerFactory] Initialized
>[JBossMQService] Initializing
>[JBossMQService] Initialized
>[JMSProviderLoader] Initializing
>[JMSProviderLoader] Initialized
>[ServerSessionPoolLoader] Initializing
>[ServerSessionPoolLoader] Initialized
>[J2eeDeployer] Initializing
>[J2eeDeployer] Initialized
>[RARDeployer] Initializing
>[RARDeployer] Initialized
>[ConnectionManagerFactoryLoader] Initializing
>[ConnectionManagerFactoryLoader] Initialized
>[ConnectionManagerFactoryLoader] Initializing
>[ConnectionManagerFactoryLoader] Initialized
>[ConnectionManagerFactoryLoader] Initializing
>[ConnectionManagerFactoryLoader] Initialized
>[ConnectionFactoryLoader] Initializing
>[ConnectionFactoryLoader] Initialized
>[ConnectionFactoryLoader] Initializing
>[ConnectionFactoryLoader] Initialized
>[AutoDeployer] Initializing
>[AutoDeployer] Initialized
>[JMXAdaptorService] Initializing
>[JMXAdaptorService] Initialized
>[RMIConnectorService] Initializing
>[RMIConnectorService] Initialized
>[MailService] Initializing
>[MailService] Initialized
>[ServiceControl] Initialized 28 services
>[ServiceControl] Starting 28 MBeans
>[WebService] Starting
>[WebService#Webserver] Codebase set to http://nicolas-s.intranet:8083/
>[WebService#Webserver] Started webserver on port 8083
>[WebService] Started
>[NamingService] Starting
>[NamingService] Starting jnp server
>[NamingService] Started jnpPort=3D1099, rmiPort=3D0, Client SocketFactory=
>=3Dnull,=20
>Server SocketFactory=3Dnull
>[NamingService] InitialContext Environment:
>[NamingService] key=3Djava.naming.factory.initial,=20
>value=3Dorg.jnp.interfaces.NamingContextFactory
>[NamingService] key=3Djava.naming.factory.url.pkgs,=20
>value=3Dorg.jboss.naming:org.jnp.interfaces:org.jboss.naming:org.jnp.inte=
>rfaces
>[NamingService] Naming started on port 1099
>[NamingService] Started
>[JNDIView] Starting
>[JNDIView] Started
>[TransactionManagerService] Starting
>[TransactionManagerService] Started
>[ClientUserTransactionService] Starting
>[ClientUserTransactionService] Started
>[JaasSecurityManagerService] Starting
>[Default] JAAS.startService, cachePolicy=3Dnull
>[Default] JAAS.startService,=20
>SecurityProxyFactory=3Dorg.jboss.security.SubjectSecurityProxyFactory@323=
>210
>[JaasSecurityManagerService] Started
>[JdbcProvider] Starting
>[JdbcProvider] Started
>[HypersonicDatabase] Starting
>[HypersonicDatabase] Database started
>[HypersonicDatabase] Started
>[XADataSourceLoader] Starting
>[InstantDB] XA Connection pool InstantDB bound to java:/InstantDB
>[Default] Enhydra InstantDB - Version 3.26
>[Default] The Initial Developer of the Original Code is Lutris Technologi=
>es Inc.
>Portions created by Lutris are Copyright (C) 1997-2001 Lutris Technologie=
>s, Inc.
>All Rights Reserved.
>[Default] Server 1.4 is running
>[Default] Press [Ctrl]+[C] to abort
>[XADataSourceLoader] Started
>[XADataSourceLoader] Starting
>[PersonDB1] XA Connection pool PersonDB1 bound to java:/PersonDB1  <---St=
>ops here
>
>
>And the mbean-conf:
>
>
>   <mbean code=3D"org.jboss.jdbc.XADataSourceLoader"=20
>name=3D"DefaultDomain:service=3DXADataSource,name=3DPersonDB1">
>     <attribute name=3D"PoolName">PersonDB1</attribute>
>     <attribute=20
>name=3D"DataSourceClass">org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl<=
>/attribute>
>     <attribute name=3D"Properties"></attribute>
>     <attribute name=3D"URL">jdbc:inetdae7:142.45.66.9?database=3Dmydb</a=
>ttribute>
>     <attribute name=3D"GCMinIdleTime">1200000</attribute>
>     <attribute name=3D"JDBCUser">sa</attribute>
>     <attribute name=3D"MaxSize">10</attribute>
>     <attribute name=3D"Password">wer300</attribute>
>     <attribute name=3D"GCEnabled">false</attribute>
>     <attribute name=3D"InvalidateOnError">false</attribute>
>     <attribute name=3D"TimestampUsed">false</attribute>
>     <attribute name=3D"Blocking">true</attribute>
>     <attribute name=3D"GCInterval">120000</attribute>
>     <attribute name=3D"IdleTimeout">1800000</attribute>
>     <attribute name=3D"IdleTimeoutEnabled">false</attribute>
>     <attribute name=3D"LoggingEnabled">false</attribute>
>     <attribute name=3D"MaxIdleTimeoutPercent">1.0</attribute>
>     <attribute name=3D"MinSize">0</attribute>
>   </mbean>
>
>Tried with merant's driver with same result.
>
>Thankfull for any help.
>
>___________________________________
>
>Nicolas Serrador Ivering
>Greenmill Consulting AB
>By=E4ngsgr=E4nd 20
>SE-120 40 =C5rsta
>Sweden
>
>Office:         +46 (0)8 664 7 664
>Fax:            +46 (0)8 664 7 864
>Mobile:         +46 (0)709 734237
>Email: [EMAIL PROTECTED]
>___________________________________
>
>
>
>
>
>
>--__--__--
>
>Message: 4
>From: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: RE: [JBoss-user] RE: Embedded Tomcat with JBoss Not Able to Call
>
>       JSPs
>Date: Wed, 18 Jul 2001 07:50:16 -0500
>Reply-To: [EMAIL PROTECTED]
>
>Are you connected to the net? If not you have to put a local copy of dtd
>on
>ur machine, then point the web.xml that is inside your .war which is inside
>ur .ear file to the local copy.
>
>-----Original Message-----
>From: Prashant Sarode [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, July 18, 2001 4:36 AM
>To: [EMAIL PROTECTED]
>Subject: [JBoss-user] RE: Embedded Tomcat with JBoss Not Able to Call
>JSPs
>Importance: High
>
>
>Hi Burkhard/Paul,
>       Thanks for ur kind reply. My JSPs are running fine now !!!
>I've one more doubt. Whenever I start my JBOSS Server v.2.2.2 (Tomcat
>v3.2.2 embedded) on NT5, it starts with an error message as follows:
>
>Error 1:
>======
>[JBossMQ] Cannot start the JMS server ! Invalid configuration.
>[JBossMQ] javax.jms.JMSException: Invalid configuration.
>[JBossMQ]      at org.jbossmq.server.PersistenceManager.<init>
>(PersistenceManager.java:107)
>
>Error 2:
>======
>[JBossMQ] javax.jms.JMSException: Could not open the queue's tranaction
>log:
>/C:/jboss/db/jbossmq/transactions.dat
>
>Error 3:
>======
>[J2EE Deployer Default] Starting module tomcat-test.war
>[Auto deploy] deploy, ctxPath=/jboss,
>warUrl=file:/C:/jboss/tmp/deploy/Default/tomcat-test.ear/web1001/
>[Auto deploy] java.net.UnknownHostException: java.sun.com
>[J2EE Deployer Default] Starting tomcat-test.war failed!
>
>       Can u pls tell me, how can eliminate these errors, especially
>the last error !!!
>       Waiting for ur reply.
>
>Thanks & Regards.
>- Prashant
>
>
>_______________________________________________
>JBoss-user mailing list
>[EMAIL PROTECTED]
>http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>--__--__--
>
>Message: 5
>From: "Heiko Dittrich" <[EMAIL PROTECTED]>
>To: "Jboss-user" <[EMAIL PROTECTED]>
>Date: Wed, 18 Jul 2001 14:50:55 +0200
>Subject: [JBoss-user] tomcat-test.ear not working
>Reply-To: [EMAIL PROTECTED]
>
>Hello,
>I downloaded and installed the latest JBoss + Tomcat
>binary on Win2000. I went through the documentation
>and was able to test the 'interest' example.
>But when I try the tomcat-test.ear it does not work
>as expected. The index.html links lead me to
>http://localhost:8080/jboss/servlet/HelloEJB
>where I get the error message below. It looks like
>I did not set a special classpath. Can anyone help?
>
>-heiko
>
>java.lang.NoClassDefFoundError: $Proxy3
>       at
>sun.reflect.GeneratedSerializationConstructorAccessor40.newInstance(Unkno=
>wn
>Source)
>       at java.lang.reflect.Constructor.newInstance(Unknown Source)
>       at java.io.ObjectStreamClass.newInstance(Unknown Source)
>       at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
>       at java.io.ObjectInputStream.readObject0(Unknown Source)
>       at java.io.ObjectInputStream.readObject(Unknown Source)
>       at java.rmi.MarshalledObject.get(Unknown Source)
>       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:353)
>       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333)
>       at javax.naming.InitialContext.lookup(Unknown Source)
>       at org.jboss.test.tomcat.servlet.HelloEJB.testBean(HelloEJB.java:56)
>       at org.jboss.test.tomcat.servlet.HelloEJB.doGet(HelloEJB.java:36)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>       at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:4=
>05)
>       at org.apache.tomcat.core.Handler.service(Handler.java:287)
>       at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372=
>)
>       at
>org.apache.tomcat.core.ContextManager.internalService(ContextManager.java=
>:79
>7)
>       at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743=
>)
>       at
>org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Ht=
>tpC
>onnectionHandler.java:213)
>       at
>org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>       at
>org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501=
>)
>       at java.lang.Thread.run(Unknown Source)
>
>
>
>____________________________________________________________
>OSC - OFFIS Systems and Consulting GmbH
>Dipl.-Inform. Heiko Dittrich
>Individuelle Systeme
>Industriestra=DFe 11, 26121 Oldenburg
>Tel.: 04 41/3 50 42-3 27, Fax: -3 80, Zentrale: -0
>E-Mail: [EMAIL PROTECTED]
>URL: http://www.o-s-c.de
>
>
>
>
>--__--__--
>
>Message: 6
>From: "Hajo Hindriks" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Date: Wed, 18 Jul 2001 14:57:41 +0200
>Subject: [JBoss-user] Problem with XML-Parser?
>Reply-To: [EMAIL PROTECTED]
>
>Hi everybody,
>
>I have a working setup of JBOSS & Tomcat on Linux... when running the
>package on Windows with an IBM JDK I had to change the config files so
that
>xerces, which comes with the JDK is used instead of crimson.jar...
>
>Now I get the following errors when I try to access my JSP-files. At home
>on
>the linux-machine the same files run without any problem. Any hints?
>
>Hajo
>
>server.log:
>[Default] JBoss 2.2.2 Started in 0m:23s
>[EmbeddedTomcatSX] Warning: validation was turned on but an
>org.xml.sax.ErrorHandler was not
>[EmbeddedTomcatSX] set, which is probably not what is desired.  Parser
will
>use a default
>[EmbeddedTomcatSX] ErrorHandler to print the first 10 errors.  Please call
>[EmbeddedTomcatSX] the 'setErrorHandler' method to fix this.
>[EmbeddedTomcatSX] Error: URI=null Line=7: Document root element "web-app",
>must match DOCTYPE root "web-app".
>[EmbeddedTomcatSX] Error: URI=null Line=17: The content of element type
>"init-param" must match "(param-name,param-value,description?)".
>[EmbeddedTomcatSX] Error: URI=null Line=21: The content of element type
>"init-param" must match "(param-name,param-value,description?)".
>[EmbeddedTomcatSX] Error: URI=null Line=26: The content of element type
>"init-param" must match "(param-name,param-value,description?)".
>[EmbeddedTomcatSX] Error: URI=null Line=30: The content of element type
>"init-param" must match "(param-name,param-value,description?)".
>[EmbeddedTomcatSX] Error: URI=null Line=34: The content of element type
>"init-param" must match "(param-name,param-value,description?)".
>[EmbeddedTomcatSX] Error: URI=null Line=38: The content of element type
>"init-param" must match "(param-name,param-value,description?)".
>[EmbeddedTomcatSX] Error: URI=null Line=42: The content of element type
>"init-param" must match "(param-name,param-value,description?)".
>[EmbeddedTomcatSX] Error: URI=null Line=44: The content of element type
>"servlet" must match
>"(icon?,servlet-name,display-name?,description?,(servlet-class|jsp-file),ini
>t-param*,load-on-startup?,security-role-ref*)".
>[EmbeddedTomcatSX] Error: URI=null Line=51: The content of element type
>"servlet-mapping" must match "(servlet-name,url-pattern)".
>[EmbeddedTomcatSX] Warning: validation was turned on but an
>org.xml.sax.ErrorHandler was not
>[EmbeddedTomcatSX] set, which is probably not what is desired.  Parser
will
>use a default
>[EmbeddedTomcatSX] ErrorHandler to print the first 10 errors.  Please call
>[EmbeddedTomcatSX] the 'setErrorHandler' method to fix this.
>[EmbeddedTomcatSX] Error: URI=null Line=10: Document root element "taglib",
>must match DOCTYPE root "taglib".
>[EmbeddedTomcatSX] Error: URI=null Line=22: The content of element type
>"attribute" must match "(name,required?,rtexprvalue?)".
>[EmbeddedTomcatSX] Error: URI=null Line=27: The content of element type
>"attribute" must match "(name,required?,rtexprvalue?)".
>[EmbeddedTomcatSX] Error: URI=null Line=32: The content of element type
>"attribute" must match "(name,required?,rtexprvalue?)".
>[EmbeddedTomcatSX] Error: URI=null Line=37: The content of element type
>"attribute" must match "(name,required?,rtexprvalue?)".
>[EmbeddedTomcatSX] Error: URI=null Line=42: The content of element type
>"attribute" must match "(name,required?,rtexprvalue?)".
>[EmbeddedTomcatSX] Error: URI=null Line=47: The content of element type
>"attribute" must match "(name,required?,rtexprvalue?)".
>[EmbeddedTomcatSX] Error: URI=null Line=52: The content of element type
>"attribute" must match "(name,required?,rtexprvalue?)".
>[EmbeddedTomcatSX] Error: URI=null Line=57: The content of element type
>"attribute" must match "(name,required?,rtexprvalue?)".
>[EmbeddedTomcatSX] Error: URI=null Line=62: The content of element type
>"attribute" must match "(name,required?,rtexprvalue?)".
>
>
>
>--__--__--
>
>Message: 7
>From: [EMAIL PROTECTED]
>Subject: Re: [JBoss-user] ear file manifest classpath problem ?
>To: [EMAIL PROTECTED]
>Date: Wed, 18 Jul 2001 14:53:18 +0200
>Reply-To: [EMAIL PROTECTED]
>
>
>
>Hi, it seems that i've got the same kind of problem :
>
>I have package my application in a ear file containing :
>     - i have made a jar file for my session beans including the interfaces
>of the used entity beans (ejb-app.jar)
>     - i have made a jar file containing the interfaces of the application
>session beans  (lib/ejb-client.jar)
>     - i have made a war file containing all the servlets and pages for
>the web-application (web-app.war)
>
>This is my application.xml file :
>     <application>
>          <display-name>Frontend application</display-name>
>          <module>
>               <web>
>               <web-uri>web-app.war</web-uri>
>               <context-root>/frontend</context-root>
>               </web>
>          </module>
>          <module>
>               <ejb>ejb-app.jar</ejb>
>          </module>
>     </application>
>
>The content of my ear file is :
>%>jar cvf frontend.ear web-app.war ejb-app.jar lib/ejb-client.jar META-INF
>META-INF/application.xml
>added manifest
>adding: web-app.war(in = 8661) (out= 7880)(deflated 9%)
>adding: ejb-app.jar(in = 10508) (out= 8745)(deflated 16%)
>adding: lib/ejb-client.jar(in = 4208) (out= 3713)(deflated 11%)
>ignoring entry META-INF/
>adding: META-INF/application.xml(in = 261) (out= 138)(deflated 47%)
>
>In the war archive I have added a manifest file containg the following
lines
>(with a cariage return at the end) :
>Manifest-Version: 1.0
>Class-Path: ./lib/ejb-client.jar
>
>
>The deployment seems to be good, this jar is added to common classpath
:
>[J2EE Deployer Default] added 
>jar:file:C:\Devlpt\jboss-2.2\tmp\deploy\Default\copy1001.zip!/lib/ejb-client.jar
>to common classpath
>
>
>I have got an exception (it concerning $Proxy6 class) when accesing from
>my servlet
>but all runs good when the client of my session beans is a distinct java
>application !
>This is the error :
>
>Exception in: R( /frontend + /servlet/DisplayPlansServlet + null) - 
>java.lang.NoClassDefFoundError:
>$Proxy6
>        at sun.reflect.GeneratedSerializationConstructorAccessor64.newInstance(Unknown
>Source)
>        at java.lang.reflect.Constructor.newInstance(Unknown Source)
>        at java.io.ObjectStreamClass.newInstance(Unknown Source)
>        at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
>        at java.io.ObjectInputStream.readObject0(Unknown Source)
>        at java.io.ObjectInputStream.readObject(Unknown Source)
>        at java.rmi.MarshalledObject.get(Unknown Source)
>        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:299)
>        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:279)
>        at javax.naming.InitialContext.lookup(Unknown Source)
>        at 
>pcc.intranet.util.XmlModelerFactory.createXmlModeler(pcc/intranet/util/XmlModelerFactory.java:89)
>        at 
>pcc.intranet.frontend.sphf.servlet.DisplayPlansServlet.init(pcc/intranet/frontend/sphf/servlet/DisplayPlansServlet.java:82)
>        at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
>        ....
>
>Is anyone knows how to solve this problem ... ?
>Is there something else to include in classpath ... ?
>
>Thanks for your help
>Regards,
>
>Laurent
>
>ps: sorry for the length of this mail
>
>
>
>
>
>--__--__--
>
>Message: 8
>Date: Wed, 18 Jul 2001 23:12:52 +1000
>From: Dmitri Colebatch <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: [JBoss-user] EOFException using MDB with standalone JMS client
> and XAException - XAER_NOTA
>Reply-To: [EMAIL PROTECTED]
>
>Burkhard,
>
>Thanks for the response - had already ticked that box though, assuming
>you're referring to the datasourceclass attribute.  I did notice some more
>though - I've come to the conclusion the two are related.  I haven't ever
>had an XAException and not seen a EOFException.  I will say though, that
>I was being stupid and not closing my JMS connection from the client,
>which is I assume what most of the EOFs were coming from.
>
>However, when I have a client that does a simple test, I can run it ok
>once, twice, no problems.  I put a loop in with a 2 second sleep and it
>went ok for 20 runs... I ran it again and then I get the exception.  A
>collegue found some questions about JBossMQ not releasing its
>filedescriptors quickly enough - my understanding is that it using the
>db/jbossmq/[queue-name] for the queue's persistance.  This then makes
>sense, when I rapid fire a lot of messages, I get the XAExceptions -
>unable to start transaction (I think - not at work atm), which makes
>sense, because it cant be sure of the file contents?  Am I on the right
>track here or miles off?
>
>I suppose my closing question is how ready is JBossMQ?  Should we be using
>openJMS?
>
>cheers, and thanks again.
>dim
>
>On Wed, 18 Jul 2001, Burkhard Vogel wrote:
>
>> Hi,
>> concering the XAExceptions: they will usually go away if you use
>> org.jboss.pool pooling implementation:
>>   <mbean code="org.jboss.jdbc.XADataSourceLoader"
>> name="DefaultDomain:service=XADataSource,name=DefaultDS">
>>     <attribute name="PoolName">DefaultDS</attribute>
>>     <attribute
>> name="DataSourceClass">org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl</attr
>> ibute>
>> Burkhard
>>
>> ----- Original Message -----
>> From: "Dmitri Colebatch" <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>
>> Sent: Wednesday, July 18, 2001 7:22 AM
>> Subject: [JBoss-user] EOFException using MDB with standalone JMS client
>and
>> XAException - XAER_NOTA
>>
>>
>> > Hi list,
>> >
>> > Using JBoss 2.4.0 on linux with postgres backend - I have a couple
of
>> > questions:
>> >
>> > I'm trying to use MDBs to enable async operations between different
>> > EJBs.  The situation I have atm is an entity, a session, a MDB and
a
>stand
>> > alone client.  In short, I get the following exception on the server:
>> >
>> > java.io.EOFException
>> >     at java.io.ObjectInputStream.readByte(ObjectInputStream.java:1907)
>> >     at
>> >
>> org.jbossmq.distributed.server.DistributedJMSServerOIL.run(DistributedJMSSer
>> verOIL.java:79)
>> >     at java.lang.Thread.run(Thread.java:484)
>> >
>> > It doesn't seem to affect my test, but is quite disconcerting.  Can
>anyone
>> > shed any light on this?
>> >
>> > My second question is about XAExceptions.  I get a few of these, quite
>a
>> > few - they're all XAER_NOTA, and I was wondering if Postgres caused
>any
>> > dramas here.   I'm getting this as part of the above situation on the
>> > second time I run the test, but it seems to work ok first time... I'm
>a
>> > bit vauge on it all, sorry - could someone point me in the right direction
>> > as far as analying XAExceptions goes...
>> >
>> > thanks in advance (o:
>> >
>> > cheers
>> > dim
>> >
>> >
>> > _______________________________________________
>> > JBoss-user mailing list
>> > [EMAIL PROTECTED]
>> > http://lists.sourceforge.net/lists/listinfo/jboss-user
>>
>>
>> _______________________________________________
>> JBoss-user mailing list
>> [EMAIL PROTECTED]
>> http://lists.sourceforge.net/lists/listinfo/jboss-user
>>
>
>
>
>
>--__--__--
>
>_______________________________________________
>JBoss-user mailing list
>[EMAIL PROTECTED]
>http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>End of JBoss-user Digest
>




Visit iWon.com - the Internet's largest guaranteed cash giveaway! Click
here now for your "Thank You" gift:
http://www.iwon.com/giftcenter/0,2612,,00.html?t_id=20157




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

Reply via email to