Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / November 2003

Tip: Looking for answers? Try searching our database.

Lomboz+JBoss: deployment directory

Thread view: 
Marcus Beyer - 06 Nov 2003 18:16 GMT
I try to develop my first J2EE project with the help of Lomboz.

When I tell Lomboz to "deploy" a web project (in the J2EE view),
it creates a web archive and moves it to the "{BOSS}/server/all/".
Because I want Lomboz to move it to "{BOSS}/server/default/" instead,
I changed to configuration like this:

<property id="serverConfig"
    label="Server Configuration (minimal/default/all):"
    type="string"
    default="default" />

Now Lomboz still moves it to "{BOSS}/server/all/". Any ideas?

BTW: How can JBoss be configured to use the "all" configuration?

thanx!
Marcus
Leo van den Berg - 07 Nov 2003 10:21 GMT
Have you tried to do this directly in the LOMBOZ plugin
In Eclipse this is windows->preferences

Expand the Lomboz node on the left and select the server definitions. Then
you will see on the right the server definitions and you should be able to
change it. I am not sure because I use JRUN. For that application server
this works!

Good luck,

Leo

> I try to develop my first J2EE project with the help of Lomboz.
>
[quoted text clipped - 14 lines]
> thanx!
> Marcus
Marcus Beyer - 07 Nov 2003 13:16 GMT
> Have you tried to do this directly in the LOMBOZ plugin
> In Eclipse this is windows->preferences
>
> Expand the Lomboz node on the left and select the server definitions. Then
> you will see on the right the server definitions and you should be able to
> change it.

This is exactly what I did. There I changed the config to "default".
But Lomboz still copies the web archive to "all":
"[copy] Copying 1 file to C:\coding\jboss\server\all\deploy".
And this is only seen if I use ant directly. Using "deploy"
on the J2EE gives no feedback at all were the file is deployed :(

It seems that changes to the server config inside of the lomboz config
have no effect on existing projects. Is that intentional or just a bug?
Or is this a Eclipse 3M4 specific problem? Should I downgrade to 3M2?

thanx!
Marcus
Leo van den Berg - 07 Nov 2003 14:21 GMT
I am using version 2. of eclipse together with the plugin. The thing you
could try is deleting the deployment server in your present project and
picking an other. I noticed that Eclipse/Loboz rebuild the complete project
to comply to the new server. Once you did that just select the original
JBoss again and the project will rebuild.

I don't think it is a bug, but only a funny quirk of LomBoz (although I must
mention it is a great and free plugin).

> > Have you tried to do this directly in the LOMBOZ plugin
> > In Eclipse this is windows->preferences
[quoted text clipped - 15 lines]
> thanx!
> Marcus
Marcus Beyer - 10 Nov 2003 10:49 GMT
> I am using version 2. of eclipse together with the plugin. The thing you
> could try is deleting the deployment server in your present project and
> picking an other. I noticed that Eclipse/Loboz rebuild the complete project
> to comply to the new server. Once you did that just select the original
> JBoss again and the project will rebuild.

Thank you, that works! It's even easier: "Lomboz J2EE... -> Change
default server", press the "Finish" button (without changing anything),
that's all.

Cheers!

Marcus


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.