This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes Using Weblogic - Problem with My autoexec.bat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Using Weblogic - Problem with My autoexec.bat" Watch "Using Weblogic - Problem with My autoexec.bat" New topic
Author

Using Weblogic - Problem with My autoexec.bat

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
I am trying to use Weblogic to run servlets and I add several statements:
set WL_HOME=C:\weblogic
set JAVA_HOME=c:\jdk1.3
set RMIFORMS=
set JDK_CLASSES=%JAVA_HOME%\lib\tools.jar;
set CLIENT_CLASSES=%WL_HOME%\myserver\clientclasses
set SERVER_CLASSES=%WL_HOME%\myserver\serverclasses
set SERVLET_CLASSES=%WL_HOME%\myserver\servletclasses
set
CLASSPATH=%CLASSPATH%%JDK_CLASSES%%WL_HOME%\license;%WL_HOME%\classes;%WL_HOME%\lib\weblogicaux.jar;%CLIENT_CLASSES%;%SERVER_CLASSES%%RMIFORMS%
set PATH=%PATH%%WL_HOME%\bin;

in the autoexec.bat file. Apparently, something is wrong with the statements that I added.
The symptom is that everytime I boot my PC ( before all the icons showing up on my screen ), the statements that I added to my autoexec.bat file appear on the screen. And a message "bad command or filename" is showing between
set SERVLET_CLASSES=%WL_HOME%\myserver\servletclasses

and
DOSKEY
I can not find the problem. Would anybody help to detect the problem? Thank you. Every statment in my autoexec.bat file is attached:

@ECHO OFF
SET BLASTER=A220 I7 D1 H7 P330 T6
SET SBPCI=C:\SBPCI
SET PATH=.;c:\WINDOWS;C:\WINDOWS\COMMAND;C:\JDK1.3\bin;
set WL_HOME=C:\weblogic
set JAVA_HOME=c:\jdk1.3
set RMIFORMS=
set JDK_CLASSES=%JAVA_HOME%\lib\tools.jar;
set CLIENT_CLASSES=%WL_HOME%\myserver\clientclasses
set SERVER_CLASSES=%WL_HOME%\myserver\serverclasses
set SERVLET_CLASSES=%WL_HOME%\myserver\servletclasses
set
CLASSPATH=%CLASSPATH%%JDK_CLASSES%%WL_HOME%\license;%WL_HOME%\classes;%WL_HOME%\lib\weblogicaux.jar;%CLIENT_CLASSES%;%SERVER_CLASSES%%RMIFORMS%
set PATH=%PATH%%WL_HOME%\bin;
DOSKEY
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
This is more likely to get a sensible answer in the Weblogic Servers forum, so I've moved it.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using Weblogic - Problem with My autoexec.bat
 
Similar Threads
Problem With Setting autoexec.bat File to Use WebLogic
Please Help Me to Set Up autoexec.bat to Use Weblogic
weblogic.ejbc command problem in weblogic5.1.0
Similar JDK1.3 Problem to Mr. Norman Leach -- Please Help
WebLogic 6.0 -- The Hello World Example