• 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

Problem With Setting autoexec.bat File to Use WebLogic

 
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

 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am going to move this to IDE's and other Tools
 
reply
    Bookmark Topic Watch Topic
  • New Topic