problem in starting j2EE RI server

I am getting this error when i try to start j2EE server. it is a J2EE RI installed with sunONE studio 4 update 1 edition.

Can someone tell me what is the problem ?

C:\Program Files\s1studio\ee\j2sdkee1.3.1\bin>j2ee -verbose

No local string for j2ee.listenPort

J2EE server listen port: 1050

No local string for j2ee.naming

Naming service started: 1050

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.pointbase.xa.xaDataSource

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

Starting JMS service...

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

Couldn't start JMS service...

javax.jms.JMSException: Can't start JMSService

at com.sun.jms.service.JMSManagerImpl.startJMSService(JMSManagerImpl.java:86)

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: Can't start JMSService

at com.sun.jms.service.JMSManagerImpl.startJMSService(JMSManagerImpl.java:86)

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: Can't start JMSService

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: Can't start JMSService

Error executing J2EE server ...

java.lang.NoClassDefFoundError: com/pointbase/jdbc/jdbcDataSource

at com.sun.jms.service.JMSServiceImpl.stop(JMSServiceImpl.java:1329)

at com.sun.jms.service.JMSServiceImpl.stop(JMSServiceImpl.java:1308)

at com.sun.jms.service.JMSServiceImpl$1.run(JMSServiceImpl.java:102)

[4600 byte] By [satyajeetsingh] at [2007-11-25 10:06:23]
# 1

Depending on your OS, there are two possibilities:

PointBase:

the .lck file was not being deleted due to a permission error, and that led to a string of events that would cause the check point error. (e.g. a rollback would be attempted on every access to the db)

Adding "FilePermission delete" to the servlet block of the lib/security/server.policy file fixed the problem.

-

or

After installing the Sun ONE Studio 4 update 1 software, I'm receiving errors trying to use the J2EE RI server, the PointBase database, and/or the internal UDDI Registry. How do I fix this?

Applicable to release S1S4u1 EEfJ. Also applicable to releases: S1S7 EEfS (Solaris environment only)

If you are in a Solaris(TM) environment and plan to use the PointBase Server 4.2 Restricted Edition database, the J2EE(TM) Reference Implementation 1.3.1 server, the internal Java(TM) Web Services Developer Pack's (JWSDP) Tomcat 4.1 server, or the internal UDDI registry server packaged with the Sun(TM) ONE Studio, Enterprise Edition for Java(TM) software (IDE), be aware that you must have write access to the IDE directories used by these components. To ensure a writeable IDE installation, install a personal copy of the Sun ONE Studio, Enterprise Edition for Java software in your home directory and run the product from this location.

Please note that the default Solaris installation procedure causes the <s1studio-install-dir> tree to be owned by the root user. Therefore, a non-root user running the IDE will be denied write access resulting in errors when attempting to run any of these packaged servers.

To install a personal copy of the Sun ONE Studio 4, Enterprise Edition for Java, please use the following instructions.

If you have the Sun ONE Studio 4 update 1 CD, do the following:

1.Be sure you are logged on as 'yourself', not a root user.

2.Insert the CD. NOTE: If the Auto run feature is enabled, an installer wizard appears and asks for the root password. Close this wizard. Do not install this product as root user.

3.From the directory where you want the IDE installed, type /cdrom/s1studio/image/ffj_installers_ee/ffj_ee_solsparc_en.bin

4.Follow the install panels, using the Sun ONE Studio 4, Enterprise Edition for Java Getting Started Guide (found at http://forte.sun.com/ffj/documentation/s1s41/getstartedee41.pdf )for any additional information.

If you have downloaded Sun ONE Studio 7, Enterprise Edition for Solaris from the web site, do the following:

1. Go to this web site http://www.sun.com/software/sundev/jde/buy/index.html and read the section called "Before you Download" for additional pre-install information.

2. Scroll to the area entitled Enterprise Edition for Java and click on the Try & Buy Download link. This takes you to the Download Center Login page.

3. Enter your username and password to login, (you may need to register). Accept the license agreement. You will be presented with the download page.

4. Be sure you are logged on as 'yourself', not a root user.

5. Find the correct file for the Solaris platform, ffj_ee_solsparc_en.bin, (151.54MB), and click the link to begin the product download, saving the file into a download directory of your choice.

6. Once the download is complete, set the DISPLAY environment variable to display to your local system, for example: % setenv DISPLAY your-local-system:0.0

7. Set the execute permission on the ffj_ee_solsparc_en.bin file by typing: % chmod a+x ffj_ee_solsparc_en.bin

8. Execute the installer as a non-root user by typing (from the download directory): % ffj_ee_solsparc_en.bin

9. See the Sun ONE Studio 4, Enterprise Edition for Java Getting Started Guide (found at http://forte.sun.com/ffj/documentation/s1s41/getstartedee41.pdf ) for additional installation and configuration information.

utsukushii at 2007-7-1 20:12:30 > top of Java-index,Development Tools,Java Tools...
# 2

C:\J2EE\bin>j2ee.bat -verbose

J2EE server listen port: 1050

Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/corba/se/inte

rnal/util/IdentityHashtable

at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.<clinit>(Util.java:87)

at com.sun.corba.ee.internal.POA.POAImpl.activate(POAImpl.java:935)

at com.sun.corba.ee.internal.POA.POAImpl.activate_object(POAImpl.java:89

5)

at com.sun.corba.ee.internal.CosNaming.TransientNameService.initialize(T

ransientNameService.java:117)

at com.sun.corba.ee.internal.CosNaming.TransientNameService.<init>(Trans

ientNameService.java:70)

at com.sun.enterprise.iiop.POAProtocolMgr.initializeNaming(POAProtocolMg

r.java:103)

at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:226)

at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)

Riki20 at 2007-7-1 20:12:30 > top of Java-index,Development Tools,Java Tools...
# 3
After I switched my JAVA_HOME from 1.5 to 1.4.2, the error disappeared!! so much for backwards compatibility..
raj_madhu at 2007-7-1 20:12:30 > top of Java-index,Development Tools,Java Tools...
# 4
> After I switched my JAVA_HOME from 1.5 to 1.4.2, the> error disappeared!! so much for backwards> compatibility..Thanks. I had a similar problem and I switched from jdk1.5.0 to jdk1.4.2.It works.
arbask at 2007-7-1 20:12:30 > top of Java-index,Development Tools,Java Tools...