?
Solved

Deployment Directory Creation Problems  OC4J 10.0.3 (Developer Preview)

Posted on 2004-04-23
6
Medium Priority
?
503 Views
Last Modified: 2012-05-04
I am trying to get the new OC4J container (10.0.3) to run on my box. After getting past a couple small bugs on the install, I am getting the following error when I try to start the container.

[code]
Error initializing server: Error creating deployment directory: D:\Development\TFAS\WebApp\webroot
04/04/23 11:41:22 Fatal error: Cannot instantiate ApplicationServerThread AND not in embedded mode - forcing exit
[/code]

If I remove the webapp descriptor mentioned from both the appliation and http-web xml files then the container will start fine.

Currently I am running the site under OC4J 9.0.3 (I think), and I have it's config files set to point to the development directory where I am coding from. (Yes, the purists will say this is a bad way, but it's a throw back to my ASP days, and it works for me so no soapbox comments on it). I am trying to find if there is another setting in 10g that I have to set to allow this to happen, or if there is something I am just screwing up, or if "heaven forbid" there is a bug in Oracle's beta.

If anyone has seen this and can help me out I would appreciate it.


0
Comment
Question by:Dynapen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 
LVL 23

Expert Comment

by:rama_krishna580
ID: 10901658
try here..

http://www.theserverside.com/news/thread.tss?thread_id=24665

===================================

When I initially started the server, I got a message that there was no compiler defined in the server.xml file. I added the following line to server.xml:
<java-compiler name="jikes" bindir="D:\jikes\bin" in-process="false"/>

It seems that this is what was causing the problem. After I removed this line, everything seems to be working fine.

see above statement also..

best of luck..

R.K.
0
 

Author Comment

by:Dynapen
ID: 10902027
I have that line commented out becuase I never got a warning about it not having a compiler defined. The error I get is in creating the deployment directory. What I am trying to find is the place where you can tell OC4J not to worry about auto unpacking anything. So that I can point it to the directory that houses my WEB-INF folder and let it go. For some reason though it keeps trying to insist that it needs to create the directory.

0
 

Author Comment

by:Dynapen
ID: 10930982
Actually, the error I was getting where the app was creating the deployment directory seems to have been caused by using absolute paths for the directory where my app was to run from. As soon as I switched everything over to use relative paths, at least the container will initialize.  Now granted I still get a separate error from the Log4J loading, but I want to research that farther before I start spending points to answer it.

0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 10966905
Closed, 125 points refunded.

modulo
Community Support Moderator
Experts Exchange
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Suggested Courses
Course of the Month9 days, 7 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question