Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error deploying ejb web service to weblogic, built using netbeans 6.8

 
Lavanya Halliwell
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've got a strange issue that is stumping me, so am interested to know what you guy think of this.

I have a wsdl file that I know works, and my goal is to rebuild the webservice without changing the wsdl file such that it deploys on weblogic 10.3.0.

when I create the web service "test" using test.wsdl, I specify a package name "com.test"

it creates com.test, with test.java ready for my personal coding....but it also creates "generated sources" with 2 folders:

1. com.bea.examples.test -> for all web service specific files
2. java.com_test -> for all bean classes needed for the wsdl file

it builds fine.

when I deploy it on weblogic 10.3.0 I get a security exception because of the package name "java.com_test". I have tried to make sure that the project uses the same version of java that the weblogic 10.3.0 has, but still no success. I think it has to do with that funny underscore in the name, this doesn't appear like this in other projects which work just fine. but it won't let me rename the directory, or refactor the files. (I think because it is a generated code)

does anyone have experience seeing this sort of thing before? or is this a netbeans bug....(it shouldn't create a package name that causes a security exception)
 
Lavanya Halliwell
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how do you set netbeans to NOT create generated sources?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic