• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using Weblogic - Problem with My autoexec.bat

 
Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is more likely to get a sensible answer in the Weblogic Servers forum, so I've moved it.
reply
    Bookmark Topic Watch Topic
  • New Topic