aspose file tools
The moose likes Web Services and the fly likes Prohibited Package Name Error Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Prohibited Package Name Error" Watch "Prohibited Package Name Error" New topic
Author

Prohibited Package Name Error

Pol Appan
Ranch Hand

Joined: Aug 26, 2004
Posts: 144
I am able to succesfully deploy webservice. However when I run and click invoke button I am getting error

An error occurred for port: {http://Test.getEmailP
ackage/}MyWebServiceSoapHttpPort: java.lang.SecurityException: Prohibited package name: java.lang.runtime.

What could be the reason, I tried renaming the package name!

Any help is highly appreciated.

Thanks


Never take anything for granted because you never know when you will lose it
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35224
    
    7
What are you trying to do with "java.lang.runtime"? You can't define new classes or packages in the java.lang hierachy. Or are you using the java.lang.Runtime class? In that case, fix the capitalization.


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Prohibited Package Name Error
 
Similar Threads
SecurityException on Websphere 4.0
Prob on Websphere 4 and Struts
How to change the default path of the Java in WSAD5.1?
Groovy setup apparently not right - I could use some help please
JVM does not support Statement.getGeneratedKeys()