Eclipse + JBoss Tools won't run webapp to configured JBoss AS -


i using eclipse 3.7.2 jboss tools 3.3 under ubuntu 12 , have configured locally installed copy of jboss 7.1.1 in eclipse under "preferences::server::runtime" environments.

however, when trying run java ee application double-clicking on project or .xhtml page see "run / run" on server option , http 404 apache tomcat/7.0.26 @ localhost:8080. is, seems eclipse trying deploy tomcat server opposed jboss have configured in "preferences::server::runtime" , don't option "run on jboss" or anything. when export application war , manually deploy jboss app runs fine.

the idea add application specific server have configured. additionally; adding server runtime isn't enough.

you need open servers view, , there right click on background , select new, , server. if choose jboss community -> jboss 7.1 here, can select created server runtime in server runtime environment, or optionally create new one.

then comes mental twist need make. in wtp don't use run as command, instead right click server in servers view (default name should jboss 7.1 runtime server, , select add , remove. select 1 or more applications workspace run on server. click finish when done.

now right click again on server, , choose either start or debug.


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c++ - Using OpenSSL in a multi-threaded application -

All overlapping substrings matching a java regex -