Results 1 to 2 of 2
- 12-11-2008, 11:12 PM #1
Member
- Join Date
- Dec 2008
- Posts
- 1
- Rep Power
- 0
HelloWorld Servlet not working using Eclipse3.4- WebLogic9.1
I am new to java. I want to do simple helloworld servlet using eclipse3.4 and weblogic 9.1
i got following message on the console
The JRE was not found in directory C:\DOCUME~1\Owner\MYDOCU~1\JROCKI~1. (JAVA_HOME)
Please edit your environment and set the JAVA_HOME
variable to point to the root directory of your Java installation.
Press any key to continue . . .
my java-home is not this but C:\Program Files\Java\jre1.5.0_04.
i don't know if this is the problem
after pressing any key following happened
JAVA Memory arguments: -Xms256m -Xmx512m
.
WLS Start Mode=Development
.
CLASSPATH=.;C:\Program Files\Java\jre1.6.0_07\lib\ext\QTJava.zip;
.
PATH=C:\DOCUME~1\Owner\MYDOCU~1\patch_weblogic910\ profiles\default\native;C:\DOCUME~1\Owner\MYDOCU~1 \WEBLOG~1\server\native\win\32;C:\DOCUME~1\Owner\M YDOCU~1\WEBLOG~1\server\bin;C:\DOCUME~1\Owner\MYDO CU~1\JROCKI~1\jre\bin;C:\DOCUME~1\Owner\MYDOCU~1\J ROCKI~1\bin;C:/Program Files/Java/jre1.6.0_07/bin/client;C:/Program Files/Java/jre1.6.0_07/bin;c:\program files\rockwell software\rscommon;C:\WINDOWS\system32;C:\WINDOWS;C :\WINDOWS\system32\wbem;c:\program files\common files\adaptec shared\system;c:\ptc\ptchelpwildfire 2.0\bin;c:\program files\common files\autodesk shared\;c:\program files\ulead systems\ulead dvd moviefactory 3.5 suite;c:\program files\common files\ulead systems\mpeg;c:\program files\microsoft sql server\90\tools\binn\;C:\Program Files\QuickTime\QTSystem\;C:\DOCUME~1\Owner\MYDOCU ~1\WEBLOG~1\server\native\win\32\oci920_8
.
************************************************** *
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
************************************************** *
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
BEA JRockit(R) (build R26.0.0-189-53463-1.5.0_04-20051122-2041-win-ia32, )
starting weblogic with Java version:
Starting WLS with line:
C:\DOCUME~1\Owner\MYDOCU~1\JROCKI~1\bin\java -jrockit -Xms256m -Xmx512m -Dweblogic.ListenPort=7001 -Dweblogic.management.username=weblogic -Dweblogic.management.password=weblogic -Xverify:none -ea -da:com.bea... -da:javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.sbconsole... -Dweblogic.Name=examplesServer -Djava.security.policy=C:\DOCUME~1\Owner\MYDOCU~1\W EBLOG~1\server\lib\weblogic.policy
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-jrockit to select the "jrockit" VM
-client to select the "client" VM
-server to select the "server" VM [synonym for the "jrockit" VM]
The default VM is jrockit.
-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A ; separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument
Stopping PointBase server...
PointBase server stopped.
and message
"starting weblogic 9.1 at local host encountered a problem
server weblogic at localhost failed to start.
if anybody can help me, that will be great
thanks
- 12-12-2008, 04:52 PM #2
As jorecket, i dont see class name there. Is the Path length too long ??Java Code:C:\DOCUME~1\Owner\MYDOCU~1\JROCKI~1\bin\java -jrockit -Xms256m -Xmx512m -Dweblogic.ListenPort=7001 -Dweblogic.management.username=weblogic -Dweblogic.management.password=weblogic -Xverify:none -ea -da:com.bea... -da:javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.sbconsole... -Dweblogic.Name=examplesServer -Djava.security.policy=C:\DOCUME~1\Owner\MYDOCU~1\W EBLOG~1\server\lib\weblogic.policy
Try setting JAVA_HOME to real JAVA base directory and put the executable of that java in the path.
You can as well install java and weblogic in lower folder such as C:/ .. to trim the length.dont worry newbie, we got you covered.
Similar Threads
-
Servlet - apache tomcat/glassfish server shuts down on servlet usage
By StewS in forum Java ServletReplies: 1Last Post: 12-02-2008, 12:23 AM -
Installing j2s in eclipse3.4
By ravjot28 in forum EclipseReplies: 0Last Post: 07-07-2008, 06:51 PM -
Java mail problem(working in intranet,but not working in iternet)
By sundarjothi in forum Advanced JavaReplies: 8Last Post: 05-28-2008, 07:00 AM -
Run a helloWorld in NetBeans
By mathias in forum NetBeansReplies: 1Last Post: 08-07-2007, 01:16 AM -
Problem with my program HelloWorld
By trill in forum New To JavaReplies: 1Last Post: 08-05-2007, 05:32 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks