BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

JBuilder 2006 and BAS 6.6

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Deployment
View previous topic :: View next topic  
Author Message
Giordano Vicoli
Guest





PostPosted: Mon May 08, 2006 10:15 am    Post subject: JBuilder 2006 and BAS 6.6 Reply with quote



Dear All,

First of all I have to say that I am not new to EJB and more in general
to J2EE development. I used BES since 4.0 release. In the last time I
preferred JBoss because it implements J2EE 1.4 from a lot of time but
today I tried the new BAS 6.6.

I just downloaded BAS 6.6 and the plugin for JBuilder 2006.
I immediately tried a Session Bean development. I developed a simple
Stateless Session Bean with a simple hello method. I deployed
it and all was working. Then I created the TestClient using the Wizard
and when I run it I received and error messages.

Then I tried to expose the Session Bean as WebService but I had an error
during compilation.

Then I tried to create a new Simple WebApplication using JSF, I had some
errors during compilation but I avoided them unchecking a property on
JSP errors. I deployed it but nothing is working.

Where is the problem????

Many thanks and bye,

Giordano
Back to top
Kevin Dean [TeamB]
Guest





PostPosted: Mon May 08, 2006 1:15 pm    Post subject: Re: JBuilder 2006 and BAS 6.6 Reply with quote



Giordano Vicoli wrote:

Quote:
Then I tried to expose the Session Bean as WebService but I had an error
during compilation.

Can you give us some details about the error?

--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/

NEW WHITEPAPERS
Team Development with JBuilder and Borland Enterprise Server
Securing Borland Enterprise Server
http://www.datadevelopment.com/papers/index.html

Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html
Back to top
Giordano Vicoli
Guest





PostPosted: Tue May 09, 2006 7:15 am    Post subject: Re: JBuilder 2006 and BAS 6.6 Reply with quote



Kevin Dean [TeamB] wrote:
Quote:
Giordano Vicoli wrote:

Then I tried to expose the Session Bean as WebService but I had an error
during compilation.


Can you give us some details about the error?


Here is the message during compilation:

Error executing Ant, see output for details
"EJBModule1": MyFirstService WSDL file: The file
"META-INF/wsdl/MyFirst.wsdl" is not in the module directory.
"EJBModule1": MyFirstService JAX-RPC Mapping file: The file
"META-INF/MyFirst.xml" is not in the module directory.
"EJBModule1": Java WSDL Mapping: Must specify Version.
"EJBModule1": Java WSDL Mapping: At least one Package Mapping is required.


Regards,
Giordano
Back to top
Kevin Dean [TeamB]
Guest





PostPosted: Tue May 09, 2006 11:15 am    Post subject: Re: JBuilder 2006 and BAS 6.6 Reply with quote

Giordano Vicoli wrote:

Quote:
Error executing Ant, see output for details
"EJBModule1": MyFirstService WSDL file: The file
"META-INF/wsdl/MyFirst.wsdl" is not in the module directory.
"EJBModule1": MyFirstService JAX-RPC Mapping file: The file
"META-INF/MyFirst.xml" is not in the module directory.

These two messages suggest that there is something wrong with your
application build procedure. Can you inspect the WAR file and confirm
whether those files are present or not?

--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/

NEW WHITEPAPERS
Team Development with JBuilder and Borland Enterprise Server
Securing Borland Enterprise Server
http://www.datadevelopment.com/papers/index.html

Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html
Back to top
Gillmer J. Derge [TeamB]
Guest





PostPosted: Tue May 09, 2006 2:15 pm    Post subject: Re: JBuilder 2006 and BAS 6.6 Reply with quote

Gillmer J. Derge [TeamB] wrote:
Quote:
In my experience, the web services designer is a
great way to generate error messages, but it's not good for much else.

I should clarify this. I'm talking specifically about using the J2EE
1.4 web services designer that's embedded in the deployment descriptor
editor for a J2EE 1.4 EJB or Web module. The standalone J2EE 1.3 web
services designer seems to work fairly well. Something about the J2EE
1.4 changes makes it go nuts.

--
Gillmer J. Derge [TeamB]
Back to top
Gillmer J. Derge [TeamB]
Guest





PostPosted: Tue May 09, 2006 2:15 pm    Post subject: Re: JBuilder 2006 and BAS 6.6 Reply with quote

Giordano Vicoli wrote:
Quote:
"EJBModule1": MyFirstService WSDL file: The file
"META-INF/wsdl/MyFirst.wsdl" is not in the module directory.
"EJBModule1": MyFirstService JAX-RPC Mapping file: The file
"META-INF/MyFirst.xml" is not in the module directory.
"EJBModule1": Java WSDL Mapping: Must specify Version.
"EJBModule1": Java WSDL Mapping: At least one Package Mapping is required.

I've been working on web service example projects recently, and I get
those all the time. In my experience, the web services designer is a
great way to generate error messages, but it's not good for much else.
I can't give you an exact procedure for getting rid of the errors, but
I've had success with variations of the following:

* Edit the files by hand and try to fix anything that looks
inconsistent. Look at all files in your EJB module's META-INF directory
and also in the WebServicesDesigner directory.

* Delete whatever web service mapping you've defined and use drag and
drop to create the mapping. Drag the class from the project pane into
the web services designer. This seems to work better than other approaches.

* Use Sun's wscompile to create a WSDL file and mapping file. JBuilder
will keep them up to date after you create them, but it seems to be
flaky about creating them initially.

--
Gillmer J. Derge [TeamB]
Back to top
Giordano Vicoli
Guest





PostPosted: Wed May 10, 2006 12:15 pm    Post subject: Re: JBuilder 2006 and BAS 6.6 Reply with quote

Gillmer J. Derge [TeamB] wrote:
Quote:
Gillmer J. Derge [TeamB] wrote:

In my experience, the web services designer is a great way to generate
error messages, but it's not good for much else.


I should clarify this. I'm talking specifically about using the J2EE
1.4 web services designer that's embedded in the deployment descriptor
editor for a J2EE 1.4 EJB or Web module. The standalone J2EE 1.3 web
services designer seems to work fairly well. Something about the J2EE
1.4 changes makes it go nuts.


Dear All,

When I exposed my EJB as WebService I did all automatically with wizard.
I didn't edit no files. I execeuted the same steps when I developed an
EJB and exposed it as WebService when I set JBoss as App Server. This
is the only difference. And all is working!!
Your suggestion to edit some files could be good If I have no tools to
generated code but in this case we are speaking about JBuilder. I can't
think to buy JBuilder and edit files by myself!!!!

Regards,

Giordano
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Deployment All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.