Jeremy,
Tried 9/20's build:
E:\try\app>c:\j2sdk1.4.2_09\bin\java -cp c:\j2sdk1.4.2_09\lib\tools.jar;E:\try\o
penejb-1.0-20050916\openejb-1.0-20050916\lib\openejb-core-1.0-20050920.jar;E:\tr
y\openejb-1.0-20050916\openejb-1.0-20050916\lib\openejb-loader-1.0-20050920.jar;
E:\try\openejb-1.0-20050916\openejb-1.0-20050916\beans\openejb-webadmin-clientto
ols.jar;E:\try\openejb-1.0-20050916\openejb-1.0-20050916\beans\openejb-webadmin-
ejbgen.jar;E:\try\openejb-1.0-20050916\openejb-1.0-20050916\beans\openejb-webadm
in-main.jar;. -Dopenejb.home=E:\try\openejb-1.0-20050916\openejb-1.0-20050916 or
g.acme.HelloWorld
javax.naming.NoInitialContextException: Cannot instantiate class: org.openejb.cl
ient.RemoteInitialContextFactory [Root exception is java.lang.ClassNotFoundExcep
tion: org.openejb.client.RemoteInitialContextFactory]
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
52)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243
)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at org.acme.HelloWorld.main(HelloWorld.java:16)
Caused by: java.lang.ClassNotFoundException: org.openejb.client.RemoteInitialCon
textFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.jav
a:42)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
49)
... 4 more
Got saw the following error in the openejb.log. Is openejb-jar.xml a new req?
WARN : Reading openejb-jar.xml.
org.openejb.OpenEJBException: Cannot find the openejb-jar.xml in
E:\try\openejb-1.0-20050920\openejb-1.0-20050920\beans\myejb.jar.
at
org.openejb.alt.config.Unmarshaller.unmarshalFromJar(Unmarshaller.java:101)
at org.openejb.alt.config.Unmarshaller.unmarshal(Unmarshaller.java:90)
at org.openejb.alt.config.Unmarshaller.unmarshal(Unmarshaller.java:82)
at
org.openejb.alt.config.EjbJarUtils.readOpenEjbJar(EjbJarUtils.java:112)
at org.openejb.alt.config.EjbJarUtils.<init>(EjbJarUtils.java:97)
at
org.openejb.alt.config.ConfigurationFactory.loadDeployments(ConfigurationFactory.java:1209)
at
org.openejb.alt.config.ConfigurationFactory.getOpenEjbConfiguration(ConfigurationFactory.java:201)
at org.openejb.alt.assembler.classic.Assembler.init(Assembler.java:132)
at org.openejb.OpenEJB.init(OpenEJB.java:236)
at org.openejb.server.Server.init(Server.java:89)
at org.openejb.server.Main.initServer(Main.java:220)
at org.openejb.server.Main.main(Main.java:73)
I will zip up the openejb directory and send it to you in a seperate note.
thanks, lin
--- Jeremy Whitlock <[EMAIL PROTECTED]> wrote:
> Lin,
> Can you try the 9/20 build, or the latest one? I know we've worked on this a
> lot since 9/16. New features are better Windows support, Castor upgrade and
> other bugs. Please let me know if I can do anything else. Also, as far as a
> .zip of your EJB's source, please zip it and email it to me personally. Take
> care, Jeremy
>
> On 9/21/05, lin sun <[EMAIL PROTECTED]> wrote:
> >
> > Jeremy,
> >
> > I am using 9/16's build, sun JDK 1.4.2_09, windows XP pro.
> >
> > Sure I can zip it up if you have a site for me to load the files.
> >
> > I noticed that I have "Service webadmin.properties failed to load" error
> > in the
> > log...would that prevent things from working?
> >
> > Thanks, Lin
> >
> > --- Jeremy Whitlock <[EMAIL PROTECTED]> wrote:
> >
> > > Lin,
> > > I am unable to replicate this issue. I will look into it but maybe David
> > > will have a better assessment. Let me ask you a few questions:
> > >
> > > When did you install OpenEJB? We've made a lot of changes in the past
> > few
> > > weeks to fix issues.
> > > What environment? (JDK, OS)
> > > Is there anyway you can zip up the EJB so I can see it?
> > >
> > > Take care,
> > > Jeremy
> > >
> > > On 9/21/05, lin sun <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Jeremy,
> > > >
> > > > Thanks for trying to reproduce this for me. I cleaned
> > > > up the log and restarted the server, and reran the
> > > > client:
> > > >
> > > > I got the same error on the client side, and I
> > > > verified that I have "DEBUG: STATELESS Hello" in
> > > > my openejb.log. But I got the following exception
> > > > after the server is ready:
> > > >
> > > > INFO : OpenEJB ready.
> > > >
> > > > ERROR: Service webadmin.properties failed to load.
> > > > Cannot load properties: System resource
> > > > webadmin.properties cannot be found
> > > >
> > > > ERROR: Unexpected error
> > > >
> > > > java.net.SocketException: Software caused connection
> > > > abort: socket write error
> > > >
> > > > at java.net.SocketOutputStream.socketWrite0(Native
> > > > Method)
> > > >
> > > > at java.net.SocketOutputStream.socketWrite(Unknown
> > > > Source)
> > > >
> > > > at java.net.SocketOutputStream.write(Unknown Source)
> > > >
> > > > at
> > > > java.io.ObjectOutputStream$BlockDataOutputStream.drain(Unknown
> > > > Source)
> > > >
> > > > at
> > > > java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode
> > (Unknown
> > > > Source)
> > > >
> > > > at
> > > > java.io.ObjectOutputStream.writeNonProxyDesc(Unknown
> > > > Source)
> > > >
> > > > at java.io.ObjectOutputStream.writeClassDesc(Unknown
> > > > Source)
> > > >
> > > > at
> > > > java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> > > > Source)
> > > >
> > > > at java.io.ObjectOutputStream.writeObject0(Unknown
> > > > Source)
> > > >
> > > > at
> > > > java.io.ObjectOutputStream.writeFatalException(Unknown
> > > > Source)
> > > >
> > > > at java.io.ObjectOutputStream.writeObject(Unknown
> > > > Source)
> > > >
> > > > at
> > > > org.openejb.client.EJBMetaDataImpl.writeExternal(EJBMetaDataImpl.java
> > :209)
> > > >
> > > > at
> > > > org.openejb.client.JNDIResponse.writeExternal(JNDIResponse.java:150)
> > > >
> > > > at
> > > > org.openejb.server.ejbd.JndiRequestHandler.processRequest(
> > > > JndiRequestHandler.java:114)
> > > >
> > > > at
> > > > org.openejb.server.ejbd.EjbDaemon.processJndiRequest(EjbDaemon.java
> > :186)
> > > >
> > > > at
> > > > org.openejb.server.ejbd.EjbDaemon.service(EjbDaemon.java:141)
> > > >
> > > > at
> > > > org.openejb.server.ejbd.EjbServer.service(EjbServer.java:77)
> > > >
> > > > at
> > > > org.openejb.server.ServiceLogger.service(ServiceLogger.java:142)
> > > >
> > > > at
> > > > org.openejb.server.ServiceAccessController.service(
> > > > ServiceAccessController.java:109)
> > > >
> > > > at
> > > > org.openejb.server.ServiceDaemon$1.run(ServiceDaemon.java:152)
> > > >
> > > > at java.lang.Thread.run(Unknown Source)
> > > >
> > > > ERROR: Encountered problem while closing connection
> > > > with client: Software caused connection abort: socket
> > > > write error
> > > >
> > > >
> > > >
> > > > --- Jeremy Whitlock <[EMAIL PROTECTED]> wrote:
> > > >
> > > > > Lin,
> > > > > I just rebuilt an OpenEJB install from CVS and also
> > > > > recreated the Hello
> > > > > World EJB documented on the OpenEJB site. I was
> > > > > unable to reproduce your
> > > > > situation. In the client, I was able to look up the
> > > > > EJB by it's JNDI name,
> > > > > "/Hello". Can you look at your openejb.log to see if
> > > > > you see a line like
> > > > > this:
> > > > >
> > > > > DEBUG: STATELESS Hello
> > > > >
> > > > > While in there, check to see if you see any OpenEJB
> > > > > errors. If you'd like,
> > > > > paste your log here:
> > > > >
> > > > > http://www.rafb.net/paste/
> > > > >
> > > > > and email me the link. Sorry about this. Take care,
> > > > > Jeremy
> > > > >
> > > > > On 9/21/05, Jeremy Whitlock <[EMAIL PROTECTED]>
> > > > > wrote:
> > > > > >
> > > > > > Lin,
> > > > > > I'll try and replicate your issue. I'll be back to
> > > > > you in a bit. Take
> > > > > > care, Jeremy
> > > > > >
> > > > > > On 9/20/05, lin sun < [EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > I was able to get further... You are right the
> > > > > > > classpath isn't setup correctly. My openejb_home
> > > > > is
> > > > > > > set to 0916's openejb home directory, but the
> > > > > jar file
> > > > > > > is named as openejb-core-1.0-beta1.jar.
> > > > > > >
> > > > > > > Here's the new error I am getting:
> > > > > > >
> > > > > > > E:\try\app>c:\j2sdk1.4.2_09\bin\java -cp
> > > > > > > c:\j2sdk1.4.2_09\lib\tools.jar;E:\try\o
> > > > > > >
> > > > > > >
> > > > >
> > > >
> > penejb-1.0-20050916\openejb-1.0-20050916\lib\openejb-core-1.0-20050916.jar
> > > > > > > ;E:\tr
> > > > > > > y\openejb-
> > > > > > >
> > > > >
> > > > 1.0-20050916\openejb-1.0-20050916\lib\openejb-loader-1.0-20050916.jar;
> > > > > > > E:\try\openejb-
> > > > > > >
> > > > >
> > > > 1.0-20050916\openejb-1.0-20050916\beans\openejb-webadmin-clientto
> > > > > > > ols.jar;E:\try\openejb-
> > > > > > >
> > > > >
> > > > 1.0-20050916\openejb-1.0-20050916\beans\openejb-webadmin-
> > > > > > > ejbgen.jar;E:\try\openejb-
>
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com