JBoss Plugin

Working on the JBoss plugin and it's starting up and stopping fine. I can also start it in debug mode.

What I was wondering, from the folks who use JBoss, is if there is a way to setup JBoss to point to a directory as its context.

Right now the only way I can get it to run my app is to have my project directory inside the server/default/deploy directory and name it myproject.war. If I do that everything is OK, but I can't believe that I would have to make this a requirement for folks to use this.

If anyone knows, please let me know what the config file trick in JBoss is to point the server to an external directory which it can read and deploy.

Also the other reason why I haven't just handed out the plugin yet is because there is a bug in the web server open api which I've reported tonight. I want to make sure everything is clean before it's all out in your hands.

If the bug is fixed in the next couple of days, I will upload the plugin for your comments.

R

7 comments
Comment actions Permalink

Also the other reason why I haven't just handed out the plugin yet is

because there is a bug in the web server open api which I've reported
tonight. I want to make sure everything is clean before it's all out in
your hands.

Could you please send the plugin to me for investigation?

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"


"Robert S. Sfeir" <itnadmin@jetbrains.com> wrote in message
news:4071482.1036550907143.JavaMail.jrun@is.intellij.net...

Working on the JBoss plugin and it's starting up and stopping fine. I can

also start it in debug mode.
>

What I was wondering, from the folks who use JBoss, is if there is a way

to setup JBoss to point to a directory as its context.
>

Right now the only way I can get it to run my app is to have my project

directory inside the server/default/deploy directory and name it
myproject.war. If I do that everything is OK, but I can't believe that I
would have to make this a requirement for folks to use this.
>

If anyone knows, please let me know what the config file trick in JBoss is

to point the server to an external directory which it can read and deploy.
>

Also the other reason why I haven't just handed out the plugin yet is

because there is a bug in the web server open api which I've reported
tonight. I want to make sure everything is clean before it's all out in
your hands.
>

If the bug is fixed in the next couple of days, I will upload the plugin

for your comments.
>

R



0
Comment actions Permalink

Hi Robert!

How can I get this plugin from you?

Sergey



0
Comment actions Permalink

Sergey,

Build 673 fixed the problem I had, so I am going to clean things up this weekend and do more testing. I will post a link here and on the plugings page.

The thing is though that there are NO setting for JBoss, so all the plugin will do is start and stop jboss from within the IDE, and auto deploy when you save a file.

It looks like it will also do JSP debugging but I'm not done checking on that yet.

R

0
Comment actions Permalink

"Robert S. Sfeir" <itnadmin@jetbrains.com> wrote in
news:4071482.1036550907143.JavaMail.jrun@is.intellij.net...
>What I was wondering, from the folks who use JBoss, is if there is a way to
setup JBoss to point to a directory as its context.

One way would be to use JMX to deploy - just give the deploy method of the
MainDeployer bean a url like file://c|/myproject/project.war

One advantage is that you will actually ensure that the application has been
properly deployed.

If you want to implement deployment to a remote server, your plugin would
need to run a small http server (jetty?) on a specific port (e.g. 7431) and
then deploy from http://10.45.29.214:7431:/myproject.war using the current
machines ip address.

Regards
Niels Harremo?s

"Robert S. Sfeir" <itnadmin@jetbrains.com> skrev i en meddelelse
news:4071482.1036550907143.JavaMail.jrun@is.intellij.net...

Working on the JBoss plugin and it's starting up and stopping fine. I can

also start it in debug mode.
>

What I was wondering, from the folks who use JBoss, is if there is a way

to setup JBoss to point to a directory as its context.
>

Right now the only way I can get it to run my app is to have my project

directory inside the server/default/deploy directory and name it
myproject.war. If I do that everything is OK, but I can't believe that I
would have to make this a requirement for folks to use this.
>

If anyone knows, please let me know what the config file trick in JBoss is

to point the server to an external directory which it can read and deploy.
>

Also the other reason why I haven't just handed out the plugin yet is

because there is a bug in the web server open api which I've reported
tonight. I want to make sure everything is clean before it's all out in
your hands.
>

If the bug is fixed in the next couple of days, I will upload the plugin

for your comments.
>

R



0
Comment actions Permalink

you can specify deploy directory that jboss uses in jboss-service.xml. Look from the end of the file, there are several deployment "scanners" you can activate.

To create your own settings simply copy one of the default/all/minimal to myConfig, make changes to your custom config and start jboss with option: -c myConfig. Works in both debug and normal mode.

0
Comment actions Permalink

I have problem.I deploy my webapplication (myapp.war) in jboss3.2.3_jetty4.2.14\server\default\deploy.Start run with JBoss/jetty integration plugin for IDEA 3.0.5.

This message web server a http://localhost:8080/:
Error 404 - Not Found.
No context on this server matched or handled this request.
Contexts known to this server are:

  • WebApplicationContext[/jbossmq-httpil,file:/D:/java/application-server/jboss-3.2.3_jetty-4.2.14/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/]

  • WebApplicationContext[/jmx-console,file:/D:/java/application-server/jboss-3.2.3_jetty-4.2.14/server/default/deploy/jmx-console.war/]

  • WebApplicationContext[/invoker,file:/D:/java/application-server/jboss-3.2.3_jetty-4.2.14/server/default/deploy/http-invoker.sar/invoker.war/]

  • WebApplicationContext[/myapp.war,file:/D:/java/application-server/jboss-3.2.3_jetty-4.2.14/server/default/tmp/deploy/tmp4636myapp.war/]

  • WebApplicationContext[/web-console,file:/D:/java/application-server/jboss-3.2.3_jetty-4.2.14/server/default/tmp/deploy/tmp4635web-console.war/]


The links above may not work if a virtual host is configured

Please information for configuration plugin JBoss Jetty or
configuration for Jetty Web Server.Jboss deployng correctly myapp.war also without context:
ERROR MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
Incompletely deployed packages: MBeans waiting for classes: ]]>
MBeans waiting for other MBeans:
[ObjectName: jboss.jmx:name=SnmpAgent,service=snmp,type=adaptor
state: FAILED
I Depend On: jboss.jmx:name=SnmpAgent,service=timer,type=heartbeat

Depends On Me: java.lang.NullPointerException]
20:30:41,062 INFO Started jboss.deployment:type=DeploymentScanner,flavor=URL
20:30:41,122 INFO Deployed package: file:/D:/java/application-server/jboss-3.2.3_jetty-4.2.14/server/default/conf/jboss-service.xml
20:30:41,142 INFO JBoss (MX MicroKernel) Started in 2m:834ms
20:32:51,309 ERROR could not get AbstractReplicatedStore
20:32:51,669 INFO Registered jboss.jetty:Server=0,HttpContext=0,context=/
20:32:51,729 INFO Registered jboss.jetty:Server=0,HttpContext=0,context=/,RootNotFoundHandler=0
20:32:51,729 INFO Started HttpContext[/]
Process terminated with exit code 1

Thanks

0

Please sign in to leave a comment.