Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » eclipse EJB Client files
eclipse EJB Client files [message #139402] Mon, 19 September 2005 00:54 Go to next message
Eclipse UserFriend
Originally posted by: radiays.gmail.com

Hi,
I have written my first EJB in eclipse, used WebLogic (8.1). I deployed the
server and it says started, so I guess all is fine with the server.

I was looking at the client project files generated for me (Eclipse 3.1, WTP
generated an EJB project first with EAR and then created a stateless session
bean)
and the Hello.java (this file is wrtten by XDoclet) in the client still has
the foo() method instead of my hello() method .. i had changed the foo() to
hello() in the server's HelloBean.
How do i get XDoclet to update this? Do I have to do this manually? how do i
do it?

Also i tried the simple session EJB
http://www.eclipse.org/webtools/testtutorials/M2/ejbtutorial /buildingejbs.html
and i cant get the client to work .. I followed the instructions and created
the server.. started it .. when i create the jsp page as they mention and
run it i get page not found .. is it because of the same problem?

TIA

regards
Radiya
Re: eclipse EJB Client files [message #139416 is a reply to message #139402] Mon, 19 September 2005 01:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: radiays.gmail.com

this is the error i get when i run the tutorial

------------------------------------------------------------ ---------------------------------------------------------
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No
indication is given of whether the condition is temporary or permanent.

If the server does not wish to make this information available to the
client, the status code 403 (Forbidden) can be used instead. The 410 (Gone)
status code SHOULD be used if the server knows, through some internally
configurable mechanism, that an old resource is permanently unavailable and
has no forwarding address.

------------------------------------------------------------ --------------------------------------------------

TIA

Radiya








"radiya" <radiays@gmail.com> wrote in message
news:dgl284$ht7$1@news.eclipse.org...
> Hi,
> I have written my first EJB in eclipse, used WebLogic (8.1). I deployed
> the server and it says started, so I guess all is fine with the server.
>
> I was looking at the client project files generated for me (Eclipse 3.1,
> WTP generated an EJB project first with EAR and then created a stateless
> session bean)
> and the Hello.java (this file is wrtten by XDoclet) in the client still
> has the foo() method instead of my hello() method .. i had changed the
> foo() to hello() in the server's HelloBean.
> How do i get XDoclet to update this? Do I have to do this manually? how do
> i do it?
>
> Also i tried the simple session EJB
> http://www.eclipse.org/webtools/testtutorials/M2/ejbtutorial /buildingejbs.html
> and i cant get the client to work .. I followed the instructions and
> created the server.. started it .. when i create the jsp page as they
> mention and run it i get page not found .. is it because of the same
> problem?
>
> TIA
>
> regards
> Radiya
>
Re: eclipse EJB Client files [message #139427 is a reply to message #139416] Mon, 19 September 2005 01:43 Go to previous message
Eclipse UserFriend
Originally posted by: radiays.gmail.com

hi,

my ejb server doesnt get deployed though my server starts and i get the
following error:
Severity Description Resource In Folder Location Creation Time
2 CHKJ2803E: <home> interface pkgHello.HelloHome, or one of its supertypes,
cannot be reflected. Check the classpath. ejb-jar.xml
Hello/ejbModule/META-INF

what do i need to do?

TIA
Radiya


"radiya" <radiyas@gmail.com> wrote in message
news:dgl2vf$il6$1@news.eclipse.org...
> this is the error i get when i run the tutorial
>
> ------------------------------------------------------------ ---------------------------------------------------------
> Error 404--Not Found
> From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
> 10.4.5 404 Not Found
> The server has not found anything matching the Request-URI. No
> indication is given of whether the condition is temporary or permanent.
>
> If the server does not wish to make this information available to the
> client, the status code 403 (Forbidden) can be used instead. The 410
> (Gone) status code SHOULD be used if the server knows, through some
> internally configurable mechanism, that an old resource is permanently
> unavailable and has no forwarding address.
>
> ------------------------------------------------------------ --------------------------------------------------
>
> TIA
>
> Radiya
>
>
>
>
>
>
>
>
> "radiya" <radiays@gmail.com> wrote in message
> news:dgl284$ht7$1@news.eclipse.org...
>> Hi,
>> I have written my first EJB in eclipse, used WebLogic (8.1). I deployed
>> the server and it says started, so I guess all is fine with the server.
>>
>> I was looking at the client project files generated for me (Eclipse 3.1,
>> WTP generated an EJB project first with EAR and then created a stateless
>> session bean)
>> and the Hello.java (this file is wrtten by XDoclet) in the client still
>> has the foo() method instead of my hello() method .. i had changed the
>> foo() to hello() in the server's HelloBean.
>> How do i get XDoclet to update this? Do I have to do this manually? how
>> do i do it?
>>
>> Also i tried the simple session EJB
>> http://www.eclipse.org/webtools/testtutorials/M2/ejbtutorial /buildingejbs.html
>> and i cant get the client to work .. I followed the instructions and
>> created the server.. started it .. when i create the jsp page as they
>> mention and run it i get page not found .. is it because of the same
>> problem?
>>
>> TIA
>>
>> regards
>> Radiya
>>
>
>
Previous Topic:which download?
Next Topic:JSP ERROR!!!
Goto Forum:
  


Current Time: Fri Apr 26 23:40:33 GMT 2024

Powered by FUDForum. Page generated in 0.03275 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top