• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

I have a problem starting my J2EE server  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I get the following messages when I start my J2EE server :
Cannot write the seed file for fast startup. The next startup will be slow.
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:688)
at com.sun.enterprise.repository.ConfigurationImpl.getServerRepository(ConfigurationImpl.java:88)
at com.sun.enterprise.repository.ConfigurationImpl.<init>(ConfigurationImpl.java:41)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:175)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
J2EE server listen port: 1050
Naming service started:1050
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:688)
at com.sun.enterprise.repository.ConfigurationImpl.getServerRepository(ConfigurationImpl.java:88)
at com.sun.enterprise.repository.ConfigurationImpl.<init>(ConfigurationImpl.java:41)
at com.sun.enterprise.server.J2EEServer.createConfiguration(J2EEServer.java:614)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:249)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:688)
at com.sun.enterprise.log.LogUtil.getLog(LogUtil.java:119)
at com.sun.enterprise.log.LogUtil.initDefaultLogFiles(LogUtil.java:85)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:253)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:688)
at com.sun.enterprise.log.LogUtil.getLog(LogUtil.java:119)
at com.sun.enterprise.log.LogUtil.initDefaultLogFiles(LogUtil.java:85)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:253)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
java.lang.RuntimeException: No such file or directory
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: No such file or directory
Error executing J2EE server ...
Could you please let me know what exactly I need to do to rectify the problem
 
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's your setup for running the J2EE, and which version are you using?
Simon
p.s. We have a naming policy here at JavaRanch where all publicly displayed names take the form, "Firstname Surname". Could you please edit your profile to bring it into line?
Thanks in advance and we hope that you enjoy your stay at the ranch!
[ May 13, 2002: Message edited by: Simon Brown ]
 
Nala Kim
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanx for the prompt reply.
Here are the details of my setup :
java version "1.3.1_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_03-b03)
Java HotSpot(TM) Client VM (build 1.3.1_03-b03, mixed mode)
I am trying to set up the J2EE server on a Red Hat 7.0 linux m/c.
 
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nala,
I believe you are running into the same problem I am when trying to start the Server. On jGuru they recommend that you do not have HotSpot installed. If you find out how to uninstall it please let me know . Uninstalling it is my problem.
Cheers,
Ryan
 
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I don't think that your problem is with HotSpot.
Maybe you'd like to check the user rights for the user you're using to start the J2EE.
Just note that the user you have used to install J2EE-RI makes a difference too on a Unix/Linux machine.
But, in any case, if you'd like to disable hotspot, just make sure the java command line use to start the java app has the -classic option defined.
e.g.
java -classic MyApp
thus, in your case, goto <J2EE>\bin\setenv file
change the line to
set JAVA_COMMAND=%JAVA_HOME%\bin\java -classic -Xmx128m %SSL_OPTIONS% %JAAS_OPTIONS%
then it should run with classic vm.
Hope this helps.
Cheers.

Han Ming
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!