Re: "No local string for ..." errors - j2ee
Hi Michael,
I googled your problem and found a thread on a Sun Java forum
(http://forum.java.sun.com/thread.jsp?forum=136&thread=237265) where, at the
very end, someone mentions to remove j2ee.jar from your JAVA_HOME\jre\lib\ext
folder. Obviously, this is a Windows path, but this might be a solution.
On the J2EE 1.3 FAQ (http://java.sun.com/j2ee/sdk_1.3/faq.html), there is the
following Q&A entry:
Q3: I have encountered the following error: No local string for
enterprise.deployment. What does it signify?
This occurs if your classpath does not include the following path:
$J2EE_HOME/lib/locale
A remedy is to use the command line tools provided with J2EE SDK. The command
line tools automatically insert the above path in the classpath.
Perhaps you've found those hints too, and I agree that they don't exactly meet
your situation, but however: Your J2EE server seems to search for a locale
string named "j2ee.startupslow" which probably should reside in the
$J2EE_HOME/lib/locale directory. What about grepping this directory to find out
whether it's there?
Another point is this "java.lang.ClassNotFoundException:
COM.cloudscape.core.RemoteXaDataSource": This class should be available J2EE
anyway! You'll find it either in one of the J2SDK or of the J2EE libraries, try
grepping the two folder using the following command (from the two installation
directories):
grep -r RemoteXaDataSource *.jar
It will tell you something like "the binary file xyz.jar matches". Make sure
this xyz.jar is on the J2EE classpath.
Don't give up yet! Others will be glad to use the J2EE tools too, I'm sure.
:-)
--
Florian Steinsiepe
florian@steinsiepe.ch
Quoting Michael S Daines <ax2groin@arbornet.org>:
> Alright. First off, thanx to everyone who has helped me in various ways as
> of
> late. This will be my last question, for if I cannot solve it here I am
> giving
> up.
>
> Below I'll just paste in the error messages I get when I type in `j2ee
> -verbose`, but the one that I've seen spit out from other j2ee programs as
> well,
> is this long lists of "No local string for ..." messages. What does this
> mean?
>
> The only difference I see running this as root is that the 2 startupslow
> lines
> aren't there.
>
> Thanx,
> msd
>
> #### My error messages from j2ee (via `j2ee -verbose 2> j2ee.errors) ####
>
> No local string for j2ee.startupslow
> Cannot write the seed file for fast startup. The next startup will be slow.
> No local string for j2ee.listenPort
> No local string for j2ee.naming
> No local string for enterprise.log.logging.serverversion.started
> No local string for enterprise.log.using.vm.name.version.from
> No local string for enterprise.log.vm's.classpath
> No local string for enterprise.log.j2ee.homedirectory
> No local string for enterprise.log.logging.serverversion.started
> No local string for enterprise.log.using.vm.name.version.from
> No local string for enterprise.log.vm's.classpath
> No local string for enterprise.log.j2ee.homedirectory
> No local string for idle_resource_threshold_error
> No local string for binding.datasource
> No local string for binding.datasource
> No local string for binding.datasource
> No local string for binding.datasource
> No local string for binding.datasource
> No local string for binding.datasource
> java.lang.ClassNotFoundException: COM.cloudscape.core.RemoteXaDataSource
> at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:140)
> at
> com.sun.enterprise.repository.JdbcXAResource.createDataSource(JdbcXAResource.ja
> va:65)
> at
> com.sun.enterprise.resource.ResourceInstaller.installJdbcXADataSources(Resource
> Installer.java:458)
> at
> com.sun.enterprise.resource.ResourceInstaller.installJdbcDataSources(ResourceIn
> staller.java:349)
> at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:264)
> at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
> No local string for poolmgr.datasourceerror
> Error in creating data source object
> No local string for jms.start
> No local string for enterprise.log.logging.serverversion.started
> No local string for enterprise.log.using.vm.name.version.from
> No local string for enterprise.log.vm's.classpath
> No local string for enterprise.log.j2ee.homedirectory
> No local string for enterprise.log.logging.serverversion.started
> No local string for enterprise.log.using.vm.name.version.from
> No local string for enterprise.log.vm's.classpath
> No local string for enterprise.log.j2ee.homedirectory
> No local string for enterprise.log.logging.serverversion.started
> No local string for enterprise.log.using.vm.name.version.from
> No local string for enterprise.log.vm's.classpath
> No local string for enterprise.log.j2ee.homedirectory
> No local string for jms.start.failed
> javax.jms.JMSException: unable to locate resource bundle:
> com.sun.jms.service.LocalStrings
> at
> com.sun.jms.service.JMSManagerImpl.startJMSService(JMSManagerImpl.java:91)
> at com.sun.enterprise.jms.JmsUtil.startJmsService(JmsUtil.java:169)
> at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:268)
> at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
> javax.jms.JMSException: unable to locate resource bundle:
> com.sun.jms.service.LocalStrings
> at
> com.sun.jms.service.JMSManagerImpl.startJMSService(JMSManagerImpl.java:91)
> at com.sun.enterprise.jms.JmsUtil.startJmsService(JmsUtil.java:169)
> at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:268)
> at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
> java.lang.RuntimeException: unable to locate resource bundle:
> com.sun.jms.service.LocalStrings
> at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:346)
> at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
> J2EE server reported the following error: unable to locate resource bundle:
> com.sun.jms.service.LocalStrings
> Error executing J2EE server ...
> java.lang.NoClassDefFoundError: COM/cloudscape/core/AbstractDataSource
> at
> com.sun.jms.service.JMSServiceImpl.stop(JMSServiceImpl.java:1334)
> at
> com.sun.jms.service.JMSServiceImpl.stop(JMSServiceImpl.java:1313)
> at
> com.sun.jms.service.JMSServiceImpl$1.run(JMSServiceImpl.java:107)
>
>
> ------------
> "More people have died in the name of religion than have ever died of cancer.
>
> And we try to cure cancer."
> - Kurt Wagner, aka Nightcrawler
> Uncanny X-Men 423
>
>
> --
> To UNSUBSCRIBE, email to debian-java-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
>
Reply to: