You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by De Wolf Olivier <Ol...@capco.com> on 2001/03/21 18:50:01 UTC

wlrun and classpath

Hi,


Two questions:

1) If I put a wlrun classpath attribute it works fine except that it seems
to allow only .jar file  and not .class files. I mean that weblogic does not
take into account .class 



Is that a bug or do I miss something?

2) I tried to avoid this problem by using a nested <classpath>.



In the ant manual concerning wlrun it is written that one can include nested
<classpath>.I tried it but my server refused to launch.

What can I do?


Error : 
	startServer:
***************************************************************************
The WebLogic Server did not start up properly.
Exception raised: java.security.AccessControlException: access denied
(java.util.PropertyPermission weblogic.management.password read)
java.security.AccessControlException: access denied
(java.util.PropertyPermission weblogic.management.password read)
        at java.security.AccessControlContext.checkPermission(Unknown
Source)
        at java.security.AccessController.checkPermission(Unknown Source)
        at java.lang.SecurityManager.checkPermission(Unknown Source)
        at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
        at java.lang.System.getProperty(Unknown Source)
        at
weblogic.security.internal.ServerAuthenticate.main(ServerAuthenticate.java:4
1)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:167)
        at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception
***************************************************************************
make/build.xml [92] Execution of weblogic server failed


************************************************************************
The information in this email is confidential and is intended solely
for the addressee(s).
Access to this email by anyone else is unauthorised. If you are not
an intended recipient, you must not read, use or disseminate the
information contained in the email.
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of
The Capital Markets Company.

http://www.capco.com
***********************************************************************


RE: wlrun and classpath

Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
Olivier,

> From: De Wolf Olivier [mailto:Olivier.De.Wolf@capco.com]
>
> Hi,
>
> Two questions:
>
> 1) If I put a wlrun classpath attribute it works fine except that it seems
> to allow only .jar file  and not .class files. I mean that
> weblogic does not
> take into account .class

Can you send me the <wlrun> part of your build file to see how it is being
used.

>
> 2) I tried to avoid this problem by using a nested <classpath>.
>
>
>
> In the ant manual concerning wlrun it is written that one can
> include nested
> <classpath>.I tried it but my server refused to launch.
>
> What can I do?

Well it may not be due to the classpath that you are getting this exception.
Please run you ant build with the -v flag which will show you the java
invocation of your weblogic server. You can copy this to the command line to
try it to see if this problem is related to classpaths.

Also, what version of weblogic are you using?

Conor