dcsimg
Weblogic Classpath problem!!
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   V_V
Posted On:   Friday, December 20, 2002 07:22 AM

I have a class that invokes the NTLM API in jintegra.jar. And there are 2 JSPs in which one of it invokes this class and checks the NT user authentication. If I run my class as an individual application it works fine and when I deploy the JSPs and the class as a web application on to Weblogic I'm getting 2 different exceptions. Here are the Exceptions. I set the Weblogic Class path in the setEnv.cmd file by setting a JINTEGRA_HOME variable. Please let me know how it can be resolved. Thanks, vv ------------------- C: eauser_projectsmydomain>setEnv C: eauser_projectsmydomain>call "C: eaweblogic700server insetWLSEnv.cmd" CLASSPATH=C: eajdk131_03lib o   More>>

I have a class that invokes the NTLM API in jintegra.jar. And there are 2 JSPs in which one of it invokes this class and checks the NT user authentication. If I run my class as an individual application it works fine and when I deploy the JSPs and the class as a web application on to Weblogic I'm getting 2 different exceptions.

Here are the Exceptions. I set the Weblogic Class path in the setEnv.cmd file by setting a JINTEGRA_HOME variable.

Please let me know how it can be resolved.

Thanks,
vv

-------------------

C: eauser_projectsmydomain>setEnv

C: eauser_projectsmydomain>call "C: eaweblogic700server insetWLSEnv.cmd"


CLASSPATH=C: eajdk131_03lib ools.jar;C: eaweblogic700serverlibweblogic_
sp.jar;C: eaweblogic700serverlibweblogic.jar;C:jdk1.3.1_04jrelib
t.jar;
C:jdk1.3.1_04jrelibi18n.jar;C:jdk1.3.1_04jrelibjaws.jar;C:jdk1.3.1_04l
ibdt.jar;C:jdk1.3.1_04lib ools.jar;C:jdk1.3.1_04libhtmlconverter.jar;;C:
MyProjectsAuthenticationauth.jar;C:csopsNTAuthejintegra;

PATH=C: eaweblogic700server in;C: eajdk131_03 in;C:PROGRA~1RATIONALRAT
ION~1NUTCROOT in;C:PROGRA~1RATIONALRATION~1NUTCROOT inx11;C:PROGRA~1RA
TIONALRATION~1NUTCROOTmksnt;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSsystem3
2WBEM;C:Program FilesRationalcommon;C:Program FilesRationalRoseTopLink;
C:Program FilesRationalRational Test;C:jdk1.3.1_04 in;

Your environment has been set.
C: eauser_projectsmydomain>startWeblogic

C: eauser_projectsmydomain>echo off

CLASSPATH=C: eajdk131_03lib ools.jar;C: eaweblogic700serverlibweblogic_
sp.jar;C: eaweblogic700serverlibweblogic.jar;C: eajdk131_03lib ools.jar
;C: eaweblogic700serverlibweblogic_sp.jar;C: eaweblogic700serverlibweb
logic.jar;C:jdk1.3.1_04jrelib
t.jar;C:jdk1.3.1_04jrelibi18n.jar;C:jdk1.
3.1_04jrelibjaws.jar;C:jdk1.3.1_04libdt.jar;C:jdk1.3.1_04lib ools.jar;C
:jdk1.3.1_04libhtmlconverter.jar;;C:MyProjectsAuthenticationauth.jar;C:cs
opsNTAuthejintegra;

PATH=.;C: eaweblogic700server in;C: eajdk131_03 in;C: eaweblogic700ser
ver in;C: eajdk131_03 in;C:PROGRA~1RATIONALRATION~1NUTCROOT in;C:PROGR
A~1RATIONALRATION~1NUTCROOT inx11;C:PROGRA~1RATIONALRATION~1NUTCROOTmk
snt;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSsystem32WBEM;C:Program FilesRat
ionalcommon;C:Program FilesRationalRoseTopLink;C:Program FilesRationalR
ational Test;C:jdk1.3.1_04 in;

***************************************************
* 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 *
***************************************************

C: eauser_projectsmydomain>"C: eajdk131_03 injava" -hotspot -Xms32m -Xmx2
00m -Dweblogic.security.SSL.trustedCAKeyStore=C: eaweblogic700serverlibcace
rts -Dweblogic.Name=mylogicserver -Dbea.home="C: ea" -Dweblogic.management.user
name= -Dweblogic.management.password= -Dweblogic.ProductionModeEnabled= -Djava.s
ecurity.policy="C: eaweblogic700serverlibweblogic.policy" weblogic.Server
<090065>
from user.>
Enter username to boot WebLogic server:vempati
Enter password to boot WebLogic server:
Starting WebLogic Server...
<140005>
ion C: eauser_projectsmydomain.config.xml>
<090082>
g using realm myrealm.>
<000327>
gic Admin Server "mylogicserver" for domain "mydomain">
<141052>
started for development server.>
<000354>
tenThread.Default" listening on port 8004>
<141030>
of Managed Server... This feature is on by default, you may turn this off by pa
ssing -Dweblogic.management.discover=false>
<000331>
ic Admin Server "mylogicserver" for domain "mydomain" running in Development Mod
e>
<000354>
Thread.Default" listening on port 8003>
<000365>
hanged to RUNNING>
<000360>
in RUNNING mode>
Terminate batch job (Y/N)? y

C: eauser_projectsmydomain>setEnv

C: eauser_projectsmydomain>call "C: eaweblogic700server insetWLSEnv.cmd"


CLASSPATH=C: eajdk131_03lib ools.jar;C: eaweblogic700serverlibweblogic_
sp.jar;C: eaweblogic700serverlibweblogic.jar;C: eajdk131_03lib ools.jar
;C: eaweblogic700serverlibweblogic_sp.jar;C: eaweblogic700serverlibweb
logic.jar;C:jdk1.3.1_04jrelib
t.jar;C:jdk1.3.1_04jrelibi18n.jar;C:jdk1.
3.1_04jrelibjaws.jar;C:jdk1.3.1_04libdt.jar;C:jdk1.3.1_04lib ools.jar;C
:jdk1.3.1_04libhtmlconverter.jar;;C:MyProjectsAuthenticationauth.jar;C:cs
opsNTAuthejintegra;;C:jintegralibjintegra.jar;

PATH=C: eaweblogic700server in;C: eajdk131_03 in;C: eaweblogic700serve
r in;C: eajdk131_03 in;C:PROGRA~1RATIONALRATION~1NUTCROOT in;C:PROGRA~
1RATIONALRATION~1NUTCROOT inx11;C:PROGRA~1RATIONALRATION~1NUTCROOTmksn
t;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSsystem32WBEM;C:Program FilesRatio
nalcommon;C:Program FilesRationalRoseTopLink;C:Program FilesRationalRat
ional Test;C:jdk1.3.1_04 in;

Your environment has been set.
C: eauser_projectsmydomain>startWeblogic

C: eauser_projectsmydomain>echo off

CLASSPATH=C: eajdk131_03lib ools.jar;C: eaweblogic700serverlibweblogic_
sp.jar;C: eaweblogic700serverlibweblogic.jar;C: eajdk131_03lib ools.jar
;C: eaweblogic700serverlibweblogic_sp.jar;C: eaweblogic700serverlibweb
logic.jar;C: eajdk131_03lib ools.jar;C: eaweblogic700serverlibweblogic_
sp.jar;C: eaweblogic700serverlibweblogic.jar;C:jdk1.3.1_04jrelib
t.jar;
C:jdk1.3.1_04jrelibi18n.jar;C:jdk1.3.1_04jrelibjaws.jar;C:jdk1.3.1_04l
ibdt.jar;C:jdk1.3.1_04lib ools.jar;C:jdk1.3.1_04libhtmlconverter.jar;;C:
MyProjectsAuthenticationauth.jar;C:csopsNTAuthejintegra;;C:jintegralibji
ntegra.jar;

PATH=.;C: eaweblogic700server in;C: eajdk131_03 in;C: eaweblogic700ser
ver in;C: eajdk131_03 in;C: eaweblogic700server in;C: eajdk131_03 in;
C:PROGRA~1RATIONALRATION~1NUTCROOT in;C:PROGRA~1RATIONALRATION~1NUTCROO
T inx11;C:PROGRA~1RATIONALRATION~1NUTCROOTmksnt;C:WINDOWSsystem32;C:WI
NDOWS;C:WINDOWSsystem32WBEM;C:Program FilesRationalcommon;C:Program Files
RationalRoseTopLink;C:Program FilesRationalRational Test;C:jdk1.3.1_04
in;

***************************************************
* 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 *
***************************************************

C: eauser_projectsmydomain>"C: eajdk131_03 injava" -hotspot -Xms32m -Xmx2
00m -Dweblogic.security.SSL.trustedCAKeyStore=C: eaweblogic700serverlibcace
rts -Dweblogic.Name=mylogicserver -Dbea.home="C: ea" -Dweblogic.management.user
name= -Dweblogic.management.password= -Dweblogic.ProductionModeEnabled= -Djava.s
ecurity.policy="C: eaweblogic700serverlibweblogic.policy" weblogic.Server
<090065>
from user.>
Enter username to boot WebLogic server:vempati
Enter password to boot WebLogic server:
Starting WebLogic Server...
<140005>
tion C: eauser_projectsmydomain.config.xml>
<090082>
ng using realm myrealm.>
<000327>
ogic Admin Server "mylogicserver" for domain "mydomain">
<141052>
r started for development server.>
<000354>
nThread.Default" listening on port 8003>
<000354>
stenThread.Default" listening on port 8004>
<141030>
y of Managed Server... This feature is on by default, you may turn this off by p
assing -Dweblogic.management.discover=false>
<000331>
gic Admin Server "mylogicserver" for domain "mydomain" running in Development Mo
de>
<000365>
changed to RUNNING>
<000360>
d in RUNNING mode>
sdf:sdfsd
PARAGON
Invoking the NT Authentication API..
J-Integra 1.5.0 SB004 Copyright (C) 1999-2001 Intrinsyc Software Inc. http://www
.intrinsyc.com/j-integra/
java.lang.RuntimeException: No valid licensing information found.

In order to use the J-Integra runtime a proper license file must be installed.

If you have acquired a license, or if you are evaluating J-Integra or any
J-Integra Integra products, then you should have received such a license file, t
ogether
with installation instructions by email when you downloaded the kit.

If you are having trouble installing the license, please goto http://www.intrins
yc.com
or refer to your documetation in the section about Licensing

<101017> <[ServletContext(id=38123
21,name=AuthenticationTest,context-path=/AuthenticationTest)] Root cause of Serv
letException
java.lang.ExceptionInInitializerError: java.lang.RuntimeException: No valid lice
nsing information found.

In order to use the J-Integra runtime a proper license file must be installed.

If you have acquired a license, or if you are evaluating J-Integra or any
J-Integra Integra products, then you should have received such a license file, t
ogether
with installation instructions by email when you downloaded the kit.

If you are having trouble installing the license, please goto http://www.intrins
yc.com
or refer to your documetation in the section about Licensing

at com.linar.jintegra.Dispatch. (Unknown Source)
at com.linar.jintegra.v.b(Unknown Source)
at com.linar.jintegra.NTLMAuthenticate.a(Unknown Source)
at com.linar.jintegra.NTLMAuthenticate. (Unknown Source)
at com.linar.jintegra.NTLMAuthenticate.validate(Unknown Source)
at com.merck.is.arch.Authenticate.NTAuthenticate(Authenticate.java:79)
at com.merck.csops.authenticate.AuthenticationBD.authenticate(Authentica
tionBD.java:47)
at jsp_servlet.__processlogon._jspService(__processlogon.java:113)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:1058)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:401)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:445)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:306)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:5412)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:744)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3086)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2544)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
>
sdfsd:sdf
PARAGON
Invoking the NT Authentication API..
<101017> <[ServletContext(id=38123
21,name=AuthenticationTest,context-path=/AuthenticationTest)] Root cause of Serv
letException
java.lang.NoClassDefFoundError
at com.linar.jintegra.v.b(Unknown Source)
at com.linar.jintegra.NTLMAuthenticate.a(Unknown Source)
at com.linar.jintegra.NTLMAuthenticate. (Unknown Source)
at com.linar.jintegra.NTLMAuthenticate.validate(Unknown Source)
at com.merck.is.arch.Authenticate.NTAuthenticate(Authenticate.java:79)
at com.merck.csops.authenticate.AuthenticationBD.authenticate(Authentica
tionBD.java:47)
at jsp_servlet.__processlogon._jspService(__processlogon.java:113)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:1058)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:401)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:306)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:5412)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:744)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3086)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2544)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
>

   <<Less
About | Sitemap | Contact