0 Replies Latest reply on Jun 7, 2007 7:15 PM by 843833

    Problems get J2EE server to start

    843833
      Hello all,


      I am trying to run the 1.4.2.14-jdk with the 1.3.1-r4-jee on a linux(gentoo) system

      I have my environment variables set as follows

      PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1:/opt/sun-jdk-1.4.2.14/bin:/opt/sun-jre-bin-1.4.2.14/bin://opt/sun-j2ee-1.3.1/bin
      CLASSPATH=.:/mirror/oracle/product/10.2.0.1/jdbc/lib/classes12.zip:/opt/sun-j2ee-1.3.1/lib/j2ee.jar:/opt/sun-j2ee-1.3.1/lib/locale:/opt/sun-jdk-1.4.2.14/lib
      J2EE_HOME=/opt/sun-j2ee-1.3.1

      when I attempt to run J2EE -verbose I get the following

      J2EE server listen port: 1050
      Naming service started:1050
      Binding DataSource, name = jdbc/DB1, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
      Binding DataSource, name = jdbc/EstoreDB, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
      Binding DataSource, name = jdbc/InventoryDB, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
      Binding DataSource, name = jdbc/DB2, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
      Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
      Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa
      Binding DataSource, name = jdbc/XACloudscape__xa, dataSource = COM.cloudscape.core.RemoteXaDataSource@14a18d
      Starting JMS service...
      WARNING: Cloudscape (instance c013800d-0113-0798-f9f9-000a01026200) is attempting to boot the database /opt/sun-j2ee-1.3.1/repository/test_mcs/db/JMSDB even though cloudscape (instance c013800d-0113-0797-c544-000a01026200) may still be active. Only one instance of cloudscape should boot a database at a time. Severe and non-recoverable corruption can result and may have already occurred.
      Initialization complete - waiting for client requests
      Binding: < JMS Destination : jms/Topic , javax.jms.Topic >
      Binding: < JMS Destination : jms/Queue , javax.jms.Queue >
      Binding: < JMS Cnx Factory : TopicConnectionFactory , Topic , No properties >
      Binding: < JMS Cnx Factory : jms/TopicConnectionFactory , Topic , No properties >
      Binding: < JMS Cnx Factory : QueueConnectionFactory , Queue , No properties >
      Binding: < JMS Cnx Factory : jms/QueueConnectionFactory , Queue , No properties >
      java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup)
      at java.security.AccessControlContext.checkPermission(Unknown Source)
      at java.security.AccessController.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkPermission(Unknown Source)
      at com.sun.enterprise.J2EESecurityManager.checkAccess(J2EESecurityManager.java:46)
      at java.lang.ThreadGroup.checkAccess(Unknown Source)
      at java.lang.Thread.init(Unknown Source)
      at java.lang.Thread.<init>(Unknown Source)
      at com.sun.ejb.containers.RecyclerImpl$RecyclerThread.<init>(RecyclerImpl.java:178)
      at com.sun.ejb.containers.RecyclerImpl.<init>(RecyclerImpl.java:51)
      at com.sun.ejb.containers.ContainerFactoryImpl.<init>(ContainerFactoryImpl.java:44)
      at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:277)
      at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
      java.lang.RuntimeException: access denied (java.lang.RuntimePermission modifyThreadGroup)
      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: access denied (java.lang.RuntimePermission modifyThreadGroup)
      Error executing J2EE server ...
      Shutting down due to severe error.


      I have tried adding the following to my $J2EE_HOME/lib/security/server.policy file

      in the grant block for the default domain

      permission java.lang.RuntimePermission "modifyThread";
      permission java.lang.RuntimePermission "modifyThreadGroup";
      permission java.util.PropertyPermission "catalina.home", "read,write";
      permission java.util.PropertyPermission "catalina.useNaming", "read,write";
      permission java.security.SecurityPermission "putProviderProperty.SunJSSE";
      permission java.security.SecurityPermission "insertProvider.SunJSSE";
      permission java.lang.RuntimePermission "setFactory";
      permission java.lang.RuntimePermission "createClassLoader";
      permission java.lang.RuntimePermission "getClassLoader";
      permission java.lang.RuntimePermission "setContextClassLoader";
      permission java.net.SocketPermission "localhost:*", "listen,resolve";
      permission java.lang.RuntimePermission "shutdownHooks";


      which seems to fix the previous problem but now I get the following

      J2EE server listen port: 1050
      Naming service started:1050
      Binding DataSource, name = jdbc/DB1, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
      Binding DataSource, name = jdbc/EstoreDB, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
      Binding DataSource, name = jdbc/InventoryDB, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
      Binding DataSource, name = jdbc/DB2, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
      Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
      Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa
      Binding DataSource, name = jdbc/XACloudscape__xa, dataSource = COM.cloudscape.core.RemoteXaDataSource@14a18d
      Starting JMS service...
      WARNING: Cloudscape (instance c013800d-0113-079b-7683-000a01026200) is attempting to boot the database /opt/sun-j2ee-1.3.1/repository/test_mcs/db/JMSDB even though cloudscape (instance c013800d-0113-0798-f9f9-000a01026200) may still be active. Only one instance of cloudscape should boot a database at a time. Severe and non-recoverable corruption can result and may have already occurred.
      Initialization complete - waiting for client requests
      Binding: < JMS Destination : jms/Topic , javax.jms.Topic >
      Binding: < JMS Destination : jms/Queue , javax.jms.Queue >
      Binding: < JMS Cnx Factory : QueueConnectionFactory , Queue , No properties >
      Binding: < JMS Cnx Factory : TopicConnectionFactory , Topic , No properties >
      Binding: < JMS Cnx Factory : jms/TopicConnectionFactory , Topic , No properties >
      Binding: < JMS Cnx Factory : jms/QueueConnectionFactory , Queue , No properties >
      java.security.AccessControlException: access denied (java.io.FilePermission /opt/sun-j2ee-1.3.1/config/sessionbean.properties read)
      at java.security.AccessControlContext.checkPermission(Unknown Source)
      at java.security.AccessController.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkRead(Unknown Source)
      at java.io.File.exists(Unknown Source)
      at com.sun.enterprise.repository.RepositoryContext$1.run(RepositoryContext.java:286)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.enterprise.repository.RepositoryContext.getFilePath(RepositoryContext.java:276)
      at com.sun.enterprise.repository.RepositoryContext.getStoragePath(RepositoryContext.java:303)
      at com.sun.enterprise.repository.RepositoryContext.access$100(RepositoryContext.java:17)
      at com.sun.enterprise.repository.RepositoryContext$2.run(RepositoryContext.java:332)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.enterprise.repository.RepositoryContext.resurrectTable(RepositoryContext.java:328)
      at com.sun.enterprise.repository.RepositoryContext.<init>(RepositoryContext.java:35)
      at com.sun.enterprise.repository.RepositoryInitContextFactory.getInitialContext(RepositoryInitContextFactory.java:18)
      at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
      at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
      at javax.naming.InitialContext.init(Unknown Source)
      at javax.naming.InitialContext.<init>(Unknown Source)
      at com.sun.enterprise.repository.Repository.init(Repository.java:118)
      at com.sun.enterprise.repository.Repository.<init>(Repository.java:95)
      at com.sun.enterprise.repository.ConfigurationImpl.getRepository(ConfigurationImpl.java:67)
      at com.sun.enterprise.repository.ConfigurationImpl.getProperty(ConfigurationImpl.java:111)
      at org.omg.stub.com.sun.enterprise.repository._ConfigurationImpl_Tie._invoke(Unknown Source)
      at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:355)
      at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)
      at com.sun.corba.ee.internal.iiop.LocalClientRequestImpl.invoke(LocalClientRequestImpl.java:101)
      at com.sun.corba.ee.internal.corba.ClientDelegate.invoke(ClientDelegate.java:232)
      at com.sun.corba.ee.internal.corba.ClientDelegate.invoke(ClientDelegate.java:274)
      at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)
      at org.omg.stub.com.sun.enterprise.repository._Configuration_Stub.getProperty(Unknown Source)
      at com.sun.enterprise.ServerConfiguration.getProperty(ServerConfiguration.java:75)
      at com.sun.ejb.containers.RecyclerImpl.<init>(RecyclerImpl.java:55)
      at com.sun.ejb.containers.ContainerFactoryImpl.<init>(ContainerFactoryImpl.java:44)
      at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:277)
      at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
      java.security.AccessControlException: access denied (java.io.FilePermission /opt/sun-j2ee-1.3.1/config/sessionbean.properties read)
      at java.security.AccessControlContext.checkPermission(Unknown Source)
      at java.security.AccessController.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkRead(Unknown Source)
      at java.io.File.exists(Unknown Source)
      at com.sun.enterprise.repository.RepositoryContext$1.run(RepositoryContext.java:286)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.enterprise.repository.RepositoryContext.getFilePath(RepositoryContext.java:276)
      at com.sun.enterprise.repository.RepositoryContext.getRepositoryName(RepositoryContext.java:307)
      at com.sun.enterprise.repository.Repository.getName(Repository.java:83)
      at com.sun.enterprise.repository.ConfigurationImpl.getRepository(ConfigurationImpl.java:68)
      at com.sun.enterprise.repository.ConfigurationImpl.getProperty(ConfigurationImpl.java:111)
      at org.omg.stub.com.sun.enterprise.repository._ConfigurationImpl_Tie._invoke(Unknown Source)
      at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:355)
      at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)
      at com.sun.corba.ee.internal.iiop.LocalClientRequestImpl.invoke(LocalClientRequestImpl.java:101)
      at com.sun.corba.ee.internal.corba.ClientDelegate.invoke(ClientDelegate.java:232)
      at com.sun.corba.ee.internal.corba.ClientDelegate.invoke(ClientDelegate.java:274)
      at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)
      at org.omg.stub.com.sun.enterprise.repository._Configuration_Stub.getProperty(Unknown Source)
      at com.sun.enterprise.ServerConfiguration.getProperty(ServerConfiguration.java:75)
      at com.sun.ejb.containers.RecyclerImpl.<init>(RecyclerImpl.java:55)
      at com.sun.ejb.containers.ContainerFactoryImpl.<init>(ContainerFactoryImpl.java:44)
      at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:277)
      at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
      java.security.AccessControlException: access denied (java.io.FilePermission /opt/sun-j2ee-1.3.1/config/passivation.properties read)
      at java.security.AccessControlContext.checkPermission(Unknown Source)
      at java.security.AccessController.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkRead(Unknown Source)
      at java.io.File.exists(Unknown Source)
      at com.sun.enterprise.repository.RepositoryContext$1.run(RepositoryContext.java:286)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.enterprise.repository.RepositoryContext.getFilePath(RepositoryContext.java:276)
      at com.sun.enterprise.repository.RepositoryContext.getStoragePath(RepositoryContext.java:303)
      at com.sun.enterprise.repository.RepositoryContext.access$100(RepositoryContext.java:17)
      at com.sun.enterprise.repository.RepositoryContext$2.run(RepositoryContext.java:332)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.enterprise.repository.RepositoryContext.resurrectTable(RepositoryContext.java:328)
      at com.sun.enterprise.repository.RepositoryContext.<init>(RepositoryContext.java:35)
      at com.sun.enterprise.repository.RepositoryInitContextFactory.getInitialContext(RepositoryInitContextFactory.java:18)
      at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
      at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
      at javax.naming.InitialContext.init(Unknown Source)
      at javax.naming.InitialContext.<init>(Unknown Source)
      at com.sun.enterprise.repository.Repository.init(Repository.java:118)
      at com.sun.enterprise.repository.Repository.<init>(Repository.java:95)
      at com.sun.enterprise.repository.ConfigurationImpl.getRepository(ConfigurationImpl.java:67)
      at com.sun.enterprise.repository.ConfigurationImpl.getProperty(ConfigurationImpl.java:111)
      at org.omg.stub.com.sun.enterprise.repository._ConfigurationImpl_Tie._invoke(Unknown Source)
      at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:355)
      at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)
      at com.sun.corba.ee.internal.iiop.LocalClientRequestImpl.invoke(LocalClientRequestImpl.java:101)
      at com.sun.corba.ee.internal.corba.ClientDelegate.invoke(ClientDelegate.java:232)
      at com.sun.corba.ee.internal.corba.ClientDelegate.invoke(ClientDelegate.java:274)
      at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)
      at org.omg.stub.com.sun.enterprise.repository._Configuration_Stub.getProperty(Unknown Source)
      at com.sun.enterprise.ServerConfiguration.getProperty(ServerConfiguration.java:75)
      at com.sun.ejb.containers.RecyclerImpl.<init>(RecyclerImpl.java:63)
      at com.sun.ejb.containers.ContainerFactoryImpl.<init>(ContainerFactoryImpl.java:44)
      at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:277)
      at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
      java.security.AccessControlException: access denied (java.io.FilePermission /opt/sun-j2ee-1.3.1/config/passivation.properties read)
      at java.security.AccessControlContext.checkPermission(Unknown Source)
      at java.security.AccessController.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkRead(Unknown Source)
      at java.io.File.exists(Unknown Source)
      at com.sun.enterprise.repository.RepositoryContext$1.run(RepositoryContext.java:286)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.enterprise.repository.RepositoryContext.getFilePath(RepositoryContext.java:276)
      at com.sun.enterprise.repository.RepositoryContext.getRepositoryName(RepositoryContext.java:307)
      at com.sun.enterprise.repository.Repository.getName(Repository.java:83)
      at com.sun.enterprise.repository.ConfigurationImpl.getRepository(ConfigurationImpl.java:68)
      at com.sun.enterprise.repository.ConfigurationImpl.getProperty(ConfigurationImpl.java:111)
      at org.omg.stub.com.sun.enterprise.repository._ConfigurationImpl_Tie._invoke(Unknown Source)
      at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:355)
      at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)
      at com.sun.corba.ee.internal.iiop.LocalClientRequestImpl.invoke(LocalClientRequestImpl.java:101)
      at com.sun.corba.ee.internal.corba.ClientDelegate.invoke(ClientDelegate.java:232)
      at com.sun.corba.ee.internal.corba.ClientDelegate.invoke(ClientDelegate.java:274)
      at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)
      at org.omg.stub.com.sun.enterprise.repository._Configuration_Stub.getProperty(Unknown Source)
      at com.sun.enterprise.ServerConfiguration.getProperty(ServerConfiguration.java:75)
      at com.sun.ejb.containers.RecyclerImpl.<init>(RecyclerImpl.java:63)
      at com.sun.ejb.containers.ContainerFactoryImpl.<init>(ContainerFactoryImpl.java:44)
      at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:277)
      at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
      java.security.AccessControlException: access denied (java.io.FilePermission /opt/sun-j2ee-1.3.1/config/web.properties read)
      at java.security.AccessControlContext.checkPermission(Unknown Source)
      at java.security.AccessController.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkRead(Unknown Source)
      at java.io.File.exists(Unknown Source)
      at com.sun.enterprise.repository.RepositoryContext$1.run(RepositoryContext.java:286)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.enterprise.repository.RepositoryContext.getFilePath(RepositoryContext.java:276)
      at com.sun.enterprise.repository.RepositoryContext.getStoragePath(RepositoryContext.java:303)
      at com.sun.enterprise.repository.RepositoryContext.access$100(RepositoryContext.java:17)
      at com.sun.enterprise.repository.RepositoryContext$2.run(RepositoryContext.java:332)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.enterprise.repository.RepositoryContext.resurrectTable(RepositoryContext.java:328)
      at com.sun.enterprise.repository.RepositoryContext.<init>(RepositoryContext.java:35)
      at com.sun.enterprise.repository.RepositoryInitContextFactory.getInitialContext(RepositoryInitContextFactory.java:18)
      at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
      at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
      at javax.naming.InitialContext.init(Unknown Source)
      at javax.naming.InitialContext.<init>(Unknown Source)
      at com.sun.enterprise.repository.Repository.init(Repository.java:118)
      at com.sun.enterprise.repository.Repository.<init>(Repository.java:95)
      at com.sun.enterprise.repository.ConfigurationImpl.getRepository(ConfigurationImpl.java:67)
      at com.sun.enterprise.repository.ConfigurationImpl.getProperty(ConfigurationImpl.java:111)
      at org.omg.stub.com.sun.enterprise.repository._ConfigurationImpl_Tie._invoke(Unknown Source)
      at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:355)
      at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)
      at com.sun.corba.ee.internal.iiop.LocalClientRequestImpl.invoke(LocalClientRequestImpl.java:101)
      at com.sun.corba.ee.internal.corba.ClientDelegate.invoke(ClientDelegate.java:232)
      at com.sun.corba.ee.internal.corba.ClientDelegate.invoke(ClientDelegate.java:274)
      at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)
      at org.omg.stub.com.sun.enterprise.repository._Configuration_Stub.getProperty(Unknown Source)
      at com.sun.enterprise.ServerConfiguration.getProperty(ServerConfiguration.java:75)
      at com.sun.web.server.WebServer.getDocumentRoot(WebServer.java:92)
      at com.sun.web.server.WebServer.<init>(WebServer.java:116)
      at com.sun.web.server.WebServer.getInstance(WebServer.java:141)
      at com.sun.enterprise.server.J2EEServer.startWebService(J2EEServer.java:795)
      at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:297)
      at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
      java.security.AccessControlException: access denied (java.io.FilePermission /opt/sun-j2ee-1.3.1/config/web.properties read)
      at java.security.AccessControlContext.checkPermission(Unknown Source)
      at java.security.AccessController.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkPermission(Unknown Source)
      at java.lang.SecurityManager.checkRead(Unknown Source)
      at java.io.File.exists(Unknown Source)
      at com.sun.enterprise.repository.RepositoryContext$1.run(RepositoryContext.java:286)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.enterprise.repository.RepositoryContext.getFilePath(RepositoryContext.java:276)
      at com.sun.enterprise.repository.RepositoryContext.getRepositoryName(RepositoryContext.java:307)
      at com.sun.enterprise.repository.Repository.getName(Repository.java:83)
      at com.sun.enterprise.repository.ConfigurationImpl.getRepository(ConfigurationImpl.java:68)
      at com.sun.enterprise.repository.ConfigurationImpl.getProperty(ConfigurationImpl.java:111)
      at org.omg.stub.com.sun.enterprise.repository._ConfigurationImpl_Tie._invoke(Unknown Source)
      at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:355)
      at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)
      at com.sun.corba.ee.internal.iiop.LocalClientRequestImpl.invoke(LocalClientRequestImpl.java:101)
      at com.sun.corba.ee.internal.corba.ClientDelegate.invoke(ClientDelegate.java:232)
      at com.sun.corba.ee.internal.corba.ClientDelegate.invoke(ClientDelegate.java:274)
      at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)
      at org.omg.stub.com.sun.enterprise.repository._Configuration_Stub.getProperty(Unknown Source)
      at com.sun.enterprise.ServerConfiguration.getProperty(ServerConfiguration.java:75)
      at com.sun.web.server.WebServer.getDocumentRoot(WebServer.java:92)
      at com.sun.web.server.WebServer.<init>(WebServer.java:116)
      at com.sun.web.server.WebServer.getInstance(WebServer.java:141)
      at com.sun.enterprise.server.J2EEServer.startWebService(J2EEServer.java:795)
      at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:297)
      at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
      java.lang.NullPointerException
      at java.io.File.<init>(Unknown Source)
      at com.sun.enterprise.util.FileUtil.isAbsolute(FileUtil.java:96)
      at com.sun.enterprise.util.FileUtil.getAbsolutePath(FileUtil.java:48)
      at com.sun.web.server.WebServer.<init>(WebServer.java:116)
      at com.sun.web.server.WebServer.getInstance(WebServer.java:141)
      at com.sun.enterprise.server.J2EEServer.startWebService(J2EEServer.java:795)
      at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:297)
      at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
      java.lang.NullPointerException
      at com.sun.enterprise.server.J2EEServer.startWebService(J2EEServer.java:796)
      at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:297)
      at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
      java.lang.RuntimeException
      at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:346)
      at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
      Error executing J2EE server ...
      Shutting down due to severe error.


      All of the directorys are owned by root and have full write access.

      I am totally stummped as to what to do next. Anyone have any ideas ??

      Thanks