This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Websphere and the fly likes WASCE gives me dependency error! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "WASCE gives me dependency error!" Watch "WASCE gives me dependency error!" New topic

WASCE gives me dependency error!

Karoly Guba

Joined: Dec 09, 2011
Posts: 5

I am totally new to WebSphere ap server.

Before I say enything, you have to know that I strongly followed "WASCE Getting Started PDF"!
So I do the follownigs:
Downloaded WASCE 3.0 installed it to winXP SP3 machine. I have also installed Eclipse indigo for Java EE developing.
Based on WASCE Getting Started PDF i have created the totally simple "Hello World" dynamic web project with Eclipse and WebSphere. I have WEP (WebSphere Eclipse Plugin) in my Eclipse. I can see and start/stop WebSphere App server from Eclipse, but when I try to run my web application I get the following error:

What could be the problem?

Micky Danese

Joined: Sep 22, 2011
Posts: 2
Note the in the exception trace:
'RMIConnection' is likely trying to write the war file to the deploy directory (eg: appserver-base/repository/xx but is denied access by jre.
Now setting up the access, that is the trick - I can atest to hacking at this for hours ( windows7 / eclipse indigo / wsce-eclipse plugin / websphere comm. edition V3.0).
Some things I have tried:
1. From eclipse server view(wsceV3.0) edit the 'launch configuration' to add VM arguments, eg:

2. edit jre java.policy file (jre/lib/security/java.policy) eg:
grant codeBase "file:///C:/ibm/wsce/appserverV3.0/*" {

I agree. Here's the link:
subject: WASCE gives me dependency error!
It's not a secret anymore!