You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by cexbrayat <ce...@sqli.com> on 2011/10/12 10:23:58 UTC

Embedded Web Console in Tomcat

Hi,

To make things short, I can't get the console neither in Jetty nor Tomcat.
For those who want to help, here is the full situation 

----

I've been using the web console component directly in my webapp (using war
overlay) with Jetty : it's *working great when i run it with "mvn
jetty:run"*.
I'm using :
- camel version 2.9-SNAPSHOT
- jetty-maven-plugin version jetty-7.5.3.v20111011

Now if i use "mvn tomcat:run", i don't get anything running, neither my app
nor the web console (tomcat-maven-plugin version 1.1) and no errors.

If I use "mvn tomcat7:run" with tomcat-maven-plugin version 2.0-SNAPSHOT no
app or console running but with "INFO: No global web.xml found"
Same thing with "mvn tomcat6:run"

But the main problem is that* it doesn't work without maven*
If I take my war and drop it into an installed jetty (eclipse distribution
7.5.3.v20111011), all seem to start properly and I got my app running but no
console.
Same thing if drop it into an installed tomcat (7.0.22), all seem to start
properly and I got my app running but no console.

If anyone has clue of what am I doing wrong, that would be greatly
appreciated...




--
View this message in context: http://camel.465427.n5.nabble.com/Embedded-Web-Console-in-Tomcat-tp4894690p4894690.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Embedded Web Console in Tomcat

Posted by mgiammarco <mg...@gmail.com>.
Hello,
2.9.1 is out and I am not yet able to use web console.
I badly need it to debug because jconsole/visualvm are uncomfortable to use. 
Please tell me if there are any news about this.

Thanks,
Mario

--
View this message in context: http://camel.465427.n5.nabble.com/Embedded-Web-Console-in-Tomcat-tp4894690p5553107.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Embedded Web Console in Tomcat

Posted by cexbrayat <ce...@sqli.com>.
Actually with 2.9.0 you can run the console with Tomcat7 but still not
Tomcat6 or another webserver. As far as I know, you can't deploy it in a
seperate war, the actual way to do it is with a war overlay (and that
bothers me too...).

That would be great to deploy it in a seperate instance. We have several
Camel applications, each one with its own console : I'd rather prefere only
one console where I can add all my Camel applications.

2012/1/8 mgiammarco [via Camel] <ml...@n5.nabble.com>

> Hello,
> any news about this?
> I have the same problem: I need web console under tomcat. Is there any
> workaround? Can I deploy the console in a separate war?
>
> Thanks,
> Mario
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://camel.465427.n5.nabble.com/Embedded-Web-Console-in-Tomcat-tp4894690p5129233.html
>  To unsubscribe from Embedded Web Console in Tomcat, click here<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4894690&code=Y2V4YnJheWF0QHNxbGkuY29tfDQ4OTQ2OTB8MTA0MTc4NTM3NQ==>
> .
> NAML<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>


--
View this message in context: http://camel.465427.n5.nabble.com/Embedded-Web-Console-in-Tomcat-tp4894690p5131331.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Embedded Web Console in Tomcat

Posted by mgiammarco <mg...@gmail.com>.
Hello,
any news about this?
I have the same problem: I need web console under tomcat. Is there any
workaround? Can I deploy the console in a separate war?

Thanks,
Mario

--
View this message in context: http://camel.465427.n5.nabble.com/Embedded-Web-Console-in-Tomcat-tp4894690p5129233.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Embedded Web Console in Tomcat

Posted by cexbrayat <ce...@sqli.com>.
I've opened an issue for this, as it seems to be same thing with the
camel-archetype-webconsole out of the box

https://issues.apache.org/jira/browse/CAMEL-4546 CAMEL-4546 

The current archetype in 2.9.0-SNAPSHOT needs a little work to run (even
with "mvn jetty:run") out of the box :
https://issues.apache.org/jira/browse/CAMEL-4544 CAMEL-4544 
https://issues.apache.org/jira/browse/CAMEL-4545 CAMEL-4545 



--
View this message in context: http://camel.465427.n5.nabble.com/Embedded-Web-Console-in-Tomcat-tp4894690p4902565.html
Sent from the Camel - Users mailing list archive at Nabble.com.