Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Export RAP App to Tomcat
Export RAP App to Tomcat [message #48067] Wed, 19 September 2007 11:42 Go to next message
Eclipse UserFriend
Originally posted by: abo.splitshade.de

Hi,

I just wanted to export my App as a Product to TomCat.
The Error I get is
Problems during export

Unable to find plug-in: org.eclipse.rap.w4t_1.0.0.20070907-1456. Please
check the error log for more details.

I thought in the current M6, there is no dependeny on the w4t-package
anymore, or where is my mistake?

Thank you!
bye
Re: Export RAP App to Tomcat [message #48097 is a reply to message #48067] Wed, 19 September 2007 11:49 Go to previous messageGo to next message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 237
Registered: July 2009
Senior Member
Hi Martin,

no that's true. There should be no need for the w4t project anymore.

Did you check the logs what caused this dependency?
How did you export the application?

Greets
Benny

Martin wrote:
> Hi,
>
> I just wanted to export my App as a Product to TomCat.
> The Error I get is
> Problems during export
>
> Unable to find plug-in: org.eclipse.rap.w4t_1.0.0.20070907-1456. Please
> check the error log for more details.
>
> I thought in the current M6, there is no dependeny on the w4t-package
> anymore, or where is my mistake?
>
> Thank you!
> bye
>
>
Re: Export RAP App to Tomcat [message #48156 is a reply to message #48097] Wed, 19 September 2007 12:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: abo.splitshade.de

Hi,

well, there is no log for this error:(
I have a Product which depends on 3 Plugins, and one feature which
combines them all, now i wanted do deploy this one, thats all.
The Application works, from PDE I can start it without any problems.

Thank you

Martin
Re: Export RAP App to Tomcat [message #48201 is a reply to message #48156] Wed, 19 September 2007 12:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: abo.splitshade.de

Hi,

ok, propably this is my fault, I just saw, that there is even a tutorial
about deploying a RAP app, so I should first try that before posting here;)
If it wonŽt work anyway, I come back;)

What I also wanted to say is, that I really really appreciate the good
support you give people interested in RAP, and this is such a good thing.
IŽm really looking forward using it in a larger project than the current;)

Have a nice day!
Re: Export RAP App to Tomcat [message #48462 is a reply to message #48201] Thu, 20 September 2007 07:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: abo.splitshade.de

Good morning again,

it doesnŽt work.
I dont know , what the error is,
it should be possible, to export a RAP Application as an Eclipseproduct
right?
The read the tutorial on deploying the RAP app, but this focuses on
deploying a complete war together with the servletbridge, but on my
appserver,
the servletbridge is already installed, so it should be enough to export
my app as a simple eclipse-product, but I always get the above message.

Thank You

Greetings

Martin
Re: Export RAP App to Tomcat [message #49005 is a reply to message #48462] Sun, 23 September 2007 08:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

I don't think that the eclipse product export mechanism is the right choice.
A simple feature export should do it .Maybe there's still a reference to w4t
in your feature.xml. And don't forget to adjust the configuration.ini on
your server after you have copied the new jars. Last but not least delete
the work directory of your server application
(<tomcat-installation>/work/Catalina/localhost/<webappname > if your using
tomcat) before starting the new app.


Ciao
Frank


"Martin" <abo@splitshade.de> schrieb im Newsbeitrag
news:c5d8250c20d5f039e9db7fdfb496cd4a$1@www.eclipse.org...
> Good morning again,
>
> it doesn
Re: Export RAP App to Tomcat [message #49548 is a reply to message #49005] Mon, 24 September 2007 14:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: abo.splitshade.de

Hi Frank, thanks for your answer, but even exporting the feature-project
doesnŽŽt change anything, I always get the same exception.
IŽm already getting sleepless nights about this problem, has anybody ever
exported a product? IŽm quite sure i have a fault somewhere in my
configuration, but no idea where to start...

Greetings

Martin
Re: Export RAP App to Tomcat [message #49606 is a reply to message #49548] Mon, 24 September 2007 15:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

how did you create the configuration.ini after exporting the feature?

Ciao
Frank


"Martin" <abo@splitshade.de> schrieb im Newsbeitrag
news:8c23f6c97b51a9fcceb292648ab23a35$1@www.eclipse.org...
> Hi Frank, thanks for your answer, but even exporting the feature-project
> doesn
Re: Export RAP App to Tomcat [message #49635 is a reply to message #49606] Mon, 24 September 2007 21:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: abo.splitshade.de

Hi,

I didnt create it at all, because no export is possible...

Greetings

Martin

Frank Appel schrieb:
> Hi,
>
> how did you create the configuration.ini after exporting the feature?
>
> Ciao
> Frank
>
>
> "Martin" <abo@splitshade.de> schrieb im Newsbeitrag
> news:8c23f6c97b51a9fcceb292648ab23a35$1@www.eclipse.org...
>> Hi Frank, thanks for your answer, but even exporting the feature-project
>> doesnŽŽt change anything, I always get the same exception.
>> IŽm already getting sleepless nights about this problem, has anybody ever
>> exported a product? IŽm quite sure i have a fault somewhere in my
>> configuration, but no idea where to start...
>>
>> Greetings
>> Martin
>>
>
>
Re: Export RAP App to Tomcat [message #49693 is a reply to message #49635] Tue, 25 September 2007 07:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

sorry now I've got it, sometimes I'm a little bit slow. The PDE-Export
already fails during compiliation, right? I guess I've mixed it up as you
where saying 'The Application works, from PDE I can start it without any
problems.'...

Hm, are there some more details in the error log, as the Problem message
promises?

Ciao
Frank

"Martin Dilger" <abo@splitshade.de> schrieb im Newsbeitrag
news:fd98i3$r78$1@build.eclipse.org...
> Hi,
>
> I didnt create it at all, because no export is possible...
>
> Greetings
>
> Martin
>
> Frank Appel schrieb:
>> Hi,
>>
>> how did you create the configuration.ini after exporting the feature?
>>
>> Ciao
>> Frank
>>
>>
>> "Martin" <abo@splitshade.de> schrieb im Newsbeitrag
>> news:8c23f6c97b51a9fcceb292648ab23a35$1@www.eclipse.org...
>>> Hi Frank, thanks for your answer, but even exporting the feature-project
>>> doesn
Re: Export RAP App to Tomcat [message #49723 is a reply to message #49693] Tue, 25 September 2007 07:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: abo.splitshade.de

No, unfortunately there is no more detail about the error.
Just the errormessage I posted earlier.

Greetings

Martin
Re: Export RAP App to Tomcat [message #49752 is a reply to message #49723] Tue, 25 September 2007 09:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

strange - normaly PDE-Export creates a log.zip with detailed error messages
if something goes wrong. But there has to be a dependency to w4t somewhere.
Maybe in one of your plug-ins or the feature. I know that you don't want to
use the war creation deployment. But maybe it would be a good idea to do it
anyway, just to see whether the same problem occurs. So maybe we could learn
this way something more about the reason your current export fails.


Ciao
Frank


"Martin" <abo@splitshade.de> schrieb im Newsbeitrag
news:0936170582333026bfb75a17a2a1a397$1@www.eclipse.org...
> No, unfortunately there is no more detail about the error.
> Just the errormessage I posted earlier.
>
> Greetings
> Martin
>
Re: Export RAP App to Tomcat [message #58585 is a reply to message #49752] Thu, 08 November 2007 11:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: benjamin.wolff.web.de

hi!

i have a "similar" problem regarding PDE export. it's not exactly the same
but it fits to the topic.

the problem is to export my rap app for deploying on a tomcat server.

here's the summary of the steps i took:

- i deployed the bridge.war demo on the tomcat, with success
- i used the org.eclipse.rap.demo.feature to deploy the rap demo following
this guide:
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. rap.help/help/html/getting-started/launcher.html
with success!!!

now i want to do the same with my rap app, the problem is, it needs an
external .jar, the ojdbc14.jar to be exact. the app runs fine when i
launch it out of eclipse. i added the ojdbc14.jar to the buildpath and it
is listed under 'Referenced Libraries' in my project.

so far so good, i used the demo.feature and added my app as a plugin and
removed the rap.demo plugin. when i run the webappBuilder.xml as an ant
script the PDE exporter puts the following error in the .zip file:
...
DriverManager.registerDriver (new oracle.jdbc.OracleDriver());
^^^^^^
oracle cannot be resolved to a type
....

ok, it's obvious that the reference to the ojdbc14.jar is missing. i added
the ojdbc14.jar to the buildpath of the feature, but the error remains.

i'm quite new to java, eclipse, rcp, rap and this error gives me quite a
headache since the last few days, until now i couldn't find an appropiate
solution for my problem therefore i'll try it here.

so the question is, how and where do i add external .jar's so that the
export feature works?!

i'd be very grateful if someone could fill me in.

thx in advance!!



additional information:
- eclipse v3.3
- rap target v1.0.0
- tomcat v5.5
Re: Export RAP App to Tomcat [message #58610 is a reply to message #58585] Thu, 08 November 2007 12:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: benjamin.wolff.web.de

houston, we have a problem with the link :P

that's the link i intended to post:
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. rap.help/help/html/advanced/deployment.html

sry :)






Ben W. wrote:

> hi!

> i have a "similar" problem regarding PDE export. it's not exactly the same
> but it fits to the topic.

> the problem is to export my rap app for deploying on a tomcat server.

> here's the summary of the steps i took:

> - i deployed the bridge.war demo on the tomcat, with success
> - i used the org.eclipse.rap.demo.feature to deploy the rap demo following
> this guide:
>
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. rap.help/help/html/getting-started/launcher.html
> with success!!!

> now i want to do the same with my rap app, the problem is, it needs an
> external .jar, the ojdbc14.jar to be exact. the app runs fine when i
> launch it out of eclipse. i added the ojdbc14.jar to the buildpath and it
> is listed under 'Referenced Libraries' in my project.

> so far so good, i used the demo.feature and added my app as a plugin and
> removed the rap.demo plugin. when i run the webappBuilder.xml as an ant
> script the PDE exporter puts the following error in the .zip file:
> ...
> DriverManager.registerDriver (new oracle.jdbc.OracleDriver());
> ^^^^^^
> oracle cannot be resolved to a type
> ....

> ok, it's obvious that the reference to the ojdbc14.jar is missing. i added
> the ojdbc14.jar to the buildpath of the feature, but the error remains.

> i'm quite new to java, eclipse, rcp, rap and this error gives me quite a
> headache since the last few days, until now i couldn't find an appropiate
> solution for my problem therefore i'll try it here.

> so the question is, how and where do i add external .jar's so that the
> export feature works?!

> i'd be very grateful if someone could fill me in.

> thx in advance!!



> additional information:
> - eclipse v3.3
> - rap target v1.0.0
> - tomcat v5.5
Re: Export RAP App to Tomcat [message #58786 is a reply to message #58610] Thu, 08 November 2007 20:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jkrause.innoopract.com

Ben,

Can you please check if

a) the ojdbc14.jar is listed in your MANIFEST.MF in the
"Bundle-ClassPath" Section

b) your build.properties file lists the same jar in the
"bin.includes" Section

Jochen

Ben W. wrote:
> houston, we have a problem with the link :P
>
> that's the link i intended to post:
> http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. rap.help/help/html/advanced/deployment.html
>
>
> sry :)
>
>
>
>
>
>
> Ben W. wrote:
>
>> hi!
>
>> i have a "similar" problem regarding PDE export. it's not exactly the
>> same but it fits to the topic.
>
>> the problem is to export my rap app for deploying on a tomcat server.
>
>> here's the summary of the steps i took:
>
>> - i deployed the bridge.war demo on the tomcat, with success
>> - i used the org.eclipse.rap.demo.feature to deploy the rap demo
>> following this guide:
> http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. rap.help/help/html/getting-started/launcher.html
>
>> with success!!!
>
>> now i want to do the same with my rap app, the problem is, it needs an
>> external .jar, the ojdbc14.jar to be exact. the app runs fine when i
>> launch it out of eclipse. i added the ojdbc14.jar to the buildpath and
>> it is listed under 'Referenced Libraries' in my project.
>
>> so far so good, i used the demo.feature and added my app as a plugin
>> and removed the rap.demo plugin. when i run the webappBuilder.xml as
>> an ant script the PDE exporter puts the following error in the .zip
>> file: ...
>> DriverManager.registerDriver (new oracle.jdbc.OracleDriver());
>> ^^^^^^
>> oracle cannot be resolved to a type
>> ....
>
>> ok, it's obvious that the reference to the ojdbc14.jar is missing. i
>> added the ojdbc14.jar to the buildpath of the feature, but the error
>> remains.
>
>> i'm quite new to java, eclipse, rcp, rap and this error gives me quite
>> a headache since the last few days, until now i couldn't find an
>> appropiate solution for my problem therefore i'll try it here.
>
>> so the question is, how and where do i add external .jar's so that the
>> export feature works?!
>
>> i'd be very grateful if someone could fill me in.
>
>> thx in advance!!
>
>
>
>> additional information:
>> - eclipse v3.3
>> - rap target v1.0.0
>> - tomcat v5.5
>
Re: Export RAP App to Tomcat [message #58836 is a reply to message #58786] Fri, 09 November 2007 07:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: benjamin.wolff.web.de

i solved the problem.

under 'plugin.xml' -> 'build' -> 'runtime information' in my rap app i
added the jar as a library. the line 'ojdbc14.sources=' is generated in
the build.properties. due to the fact that i don't have sources to attach
the value was empty. this caused the pde exporter to abort. this 'error'
was listed as a 'warning' and the pde exporter of the feature runs in the
background, don't showing this kind of error, so i missed it. when i tried
to export the app with the eclipse deploy wizard ('plugin.xml' ->
'overview' -> 'export wizard'), to check if this works, the error showed
up and after i removed the line in the build.properties it worked fine.

surely, this problem was caused due to my lack of experience with eclipse.
but i'd never thought that this 'error' could be responsible for it
because the app run fine in the eclipse environment.
nevertheless, if someone experiences the same problem he might appreciate
this info =).

-ben
Re: Export RAP App to Tomcat [message #59158 is a reply to message #58836] Sat, 10 November 2007 05:54 Go to previous messageGo to next message
Xavier Méhaut is currently offline Xavier MéhautFriend
Messages: 133
Registered: July 2009
Senior Member
Can you sum up this thread in the wiki FAQs section?
thanks in advance
regards
Xavier
Re: Export RAP App to Tomcat [message #59832 is a reply to message #59158] Wed, 14 November 2007 17:22 Go to previous message
Eclipse UserFriend
Originally posted by: benjamin.wolff.web.de

sure, can do. but i don't think there is anything to sum up until i posted
my problem, isn't it? :)
Previous Topic:Anyone from Qooxdoo on this newsgroup?
Next Topic:Session issue
Goto Forum:
  


Current Time: Tue Apr 23 08:14:34 GMT 2024

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

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

Back to the top