[JBoss Web Development] - Web application Deployment failed
by jagadesh manchala
jagadesh manchala [http://community.jboss.org/people/jagadeshm] created the discussion
"Web application Deployment failed"
To view the discussion, visit: http://community.jboss.org/message/552683#552683
--------------------------------------------------------------
Hi ,
I Developed a sample web application and tried to deploy that in JBoss 5 . but it was deploying correctly , but when i tried to access the applications it is throwing strange errors like ,
ERROR [org.rhq.core.pc.inventory.InventoryManager] (http-127.0.0.1-8080-1) Call to getAvailablity() on ResourceComponent for Resource[id=-14, type=Web Application Context, key=localhost, name=//localhost/sample, parent=sample.war] failed.
java.lang.IllegalStateException: Failed to find [ComponentType{type=MBean, subtype=WebApplicationManager}] ManagedComponent named [jboss.web:host=localhost,path=/sample,type=Manager].
at org.rhq.plugins.jbossas5.ManagedComponentComponent.getManagedComponent(ManagedComponentComponent.java:367)
at org.rhq.plugins.jbossas5.ManagedComponentComponent.getAvailability(ManagedComponentComponent.java:110)
at sun.reflect.GeneratedMethodAccessor281.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Can any body sort me out Please
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/552683#552683]
Start a new discussion in JBoss Web Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 6 months
[JBoss ESB Development] - SOA In a Day at India's Most Influential Business Technology Conference
by Raju arora
Raju arora [http://community.jboss.org/people/raju2010] created the discussion
"SOA In a Day at India's Most Influential Business Technology Conference"
To view the discussion, visit: http://community.jboss.org/message/552670#552670
--------------------------------------------------------------
Business Technology Summit 2010 – India's First, Largest and Single-most Inspirational Technology Show
Bangalore, July 12, 2010: Businesses are organizing themselves with Service-oriented architecture (SOA). SOA moved from exploration and experimentation to pilots and deployment, with businesses understanding that SOA adoption betters data integration, enables legacy application integration, improves flexibility of application development, integrates dissimilar, departmental applications and reduces costs. SOA is addressed in a full-day conference at the 2010 edition of Business Technology Summit. The summit will be held 12 November at the NIMHANS Convention Centre in Bangalore.
Centered on the theme Shaping Your Enterprise for New Business Realities, the third edition of India's annual summit for business technologies features two important and relevant tracks – SOA (12 Nov) and Cloud Computing (11 Nov) – to empower you with the necessary know-how for your applications and your company to prosper in this climate, now and into the future. The following tracks are covered in the SOA conference on 12 November:
• BPM in Practice: in this track, learn how to harness BPM as an essential part of an overall strategy that touches both the IT function and the operational imperative. You will learn about Process Discovery and Modelling, Process Execution, Process Monitoring and Optimisation, among others.
• SOA Case Studies: you will learn from the wisdom, experience and passion of expert SOA practitioners who have been there and done it all too well. If you believe there is no alternative for actual experience, this is the track for you.
• SOA Integration: this track discusses how SOA and related technologies - middleware, application integration, BPM, BAM, governance technology, application platforms, application development tools, data integration, MDM, multienterprise B2B tools and services, Web 2.0, cloud and others - can help your organization efficiently support the challenges and leverage the opportunities ahead.
• SOA Deployment & Management: successful SOA Deployment Requires Effective SOA Management. In this track you will learn about balancing flexibility and control within an SOA, managing SOA application service levels, performance and availability, among others. You will also learn how combining SOA governance with time tested techniques of managing applications enables you to achieve the increased flexibility and decreased cost that you need from your SOA initiative.
For detail on the topics, visit the summit home: http://bit.ly/soaconference http://bit.ly/soaconference. For the type of topics and speakers at Business Technology Summit, please look up the agenda for the 2009 and 2008 editions. To register with 85% discounts at Rs. 499, visit: http://bit.ly/btsregister http://bit.ly/btsregister
About Business Technology Summit
Business Technology Summit is the single most inspirational, informative and valuable event of the year for those recognise that the overall business network benefits when business technologies are made integral to the overall value equation. It offer the best chance to refresh, pick up new tips and techniques, and network with your peers to find solutions to the most pressing business technology issues today. Each year, the summit is attended by a serious audience of over thousand lively and thought-provoking IT practitioners and business leaders.
With outstanding education sessions, powerhouse speakers, and demand-driven content BTS 2010 offers cloud and SOA vendors a great way to maximize their company's visibility and maintain a heightened profile, before during and after the summit. For details on attendee demographics, products and services invited for participation, and expo floor plan, please visit www.btsummit.com/sponsorship.html. Follow the summit on Twitter, here: http://twitter.com/btsummit http://twitter.com/btsummit.
A Saltmarch Media Press Release
E: mailto:info@saltmarch.com info(a)saltmarch.com
Ph: +91 80 4005 1000
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/552670#552670]
Start a new discussion in JBoss ESB Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 6 months
Re: [jboss-dev-forums] [JBoss ESB Development] - httprouter issues with GET/POST WADL Services and Web Routing
by Dave Siracusa
Dave Siracusa [http://community.jboss.org/people/davesiracusa] replied to the discussion
"httprouter issues with GET/POST WADL Services and Web Routing"
To view the discussion, visit: http://community.jboss.org/message/552659#552659
--------------------------------------------------------------
*import* org.jboss.soa.esb.actions.AbstractActionPipelineProcessor;
*import* org.jboss.soa.esb.actions.ActionLifecycleException;
*import* org.jboss.soa.esb.actions.ActionProcessingException;
*import* org.jboss.soa.esb.helpers.ConfigTree;
*import* org.jboss.soa.esb.message.Message;
h4. *import* *org.jboss.soa.esb.http.HttpResponse;*
*
*
*import* org.apache.commons.httpclient.HttpStatus;
*import* org.apache.log4j.Logger;
*import* java.io.DataInputStream;
*import* java.io.File;
*import* java.io.StringReader;
*import* java.net.InetAddress;
*import* java.net.URL;
*import* java.net.URLConnection;
*import* javax.ws.rs.core.MediaType;
*import* javax.xml.transform.Source;
*import* org.jboss.soa.esb.http.HttpRequest;
*import* org.w3c.dom.*;
*import* net.sf.saxon.s9api.*;
*import* com.sun.jersey.api.client.ClientResponse;
*import* com.yellowbook.soa.esb.actions.proxy.IConfigChangeEvent;
*import* com.yellowbook.soa.esb.util.file.Resource;
*import* com.yellowbook.soa.esb.util.jersey.JerseyClientSingleton;
*import* com.yellowbook.soa.esb.util.reflection.ReflectionHelper;
*import* com.yellowbook.soa.esb.util.xml.XMLHelper;
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/552659#552659]
Start a new discussion in JBoss ESB Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 6 months
Re: [jboss-dev-forums] [JBoss ESB Development] - httprouter issues with GET/POST WADL Services and Web Routing
by jack lista
jack lista [http://community.jboss.org/people/jackalista] replied to the discussion
"httprouter issues with GET/POST WADL Services and Web Routing"
To view the discussion, visit: http://community.jboss.org/message/552646#552646
--------------------------------------------------------------
Hmm, some how I loaded stuff that wasn't properly compiled, I did an "ant clean" and found I don't have an import for "HttpResponse", do you have the import for that? It doesn't seem to be in those jars, (I had assumed this to be Jersey stuff, is it? Or maybe 3rd party?). It's from this snippet of code:
HttpResponse httpResponse = new HttpResponse(response.getStatus());
httpResponse.setContentType(response.getType().toString());
message.getBody().add(entityResponse);
httpResponse.setResponse(message);
I also started looking at this code and it looks like it's processing an incoming request, is that true? That's cool, but I don't want to do that at the moment., I just want to make an oiutgoing request and then probably enhance a message with the data. Do I still use this same JerseyClientSingleton to create a brand new request I want to make from my WADLAction class? Also, if you have a pointer to docs on this client that would be cool too, thanks.
--j
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/552646#552646]
Start a new discussion in JBoss ESB Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 6 months
Re: [jboss-dev-forums] [JBoss ESB Development] - httprouter issues with GET/POST WADL Services and Web Routing
by Dave Siracusa
Dave Siracusa [http://community.jboss.org/people/davesiracusa] replied to the discussion
"httprouter issues with GET/POST WADL Services and Web Routing"
To view the discussion, visit: http://community.jboss.org/message/552632#552632
--------------------------------------------------------------
I ran into many runtime problems with Jersey 1.3 in most of my http-based services (have many).
Likely due to conflicting httpclient.
I use maven, here are my dependancies:Note: I used the SOA-P 5.X supplied httpclient.
<dependency
<groupId>${jboss.groupid}</groupId
<artifactId>commons-httpclient</artifactId
<version>${jboss.as}</version
<scope>provided</scope
</dependency>
<!-- jersey 1.2 --> <dependency> <artifactId>asm</artifactId> <groupId>asm</groupId> <version>3.1</version> </dependency>
<dependency> <groupId>org.codehaus.jackson</groupId> <artifactId>jackson</artifactId> <version>1.1.1</version></dependency>
<dependency> <groupId>org.codehaus.jettison</groupId> <artifactId>jettison</artifactId> <version>1.1</version></dependency>
<dependency> <groupId>javax.ws.rs</groupId> <artifactId>jsr311-api</artifactId> <version>1.1</version></dependency>
<dependency> <groupId>jersey</groupId> <artifactId>jersey-apache-client</artifactId> <version>1.2</version></dependency>
<dependency> <groupId>jersey</groupId> <artifactId>jersey-client</artifactId> <version>1.2</version></dependency>
<dependency> <groupId>jersey</groupId> <artifactId>jersey-core</artifactId> <version>1.2</version></dependency>
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/552632#552632]
Start a new discussion in JBoss ESB Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 6 months
Re: [jboss-dev-forums] [JBoss ESB Development] - httprouter issues with GET/POST WADL Services and Web Routing
by jack lista
jack lista [http://community.jboss.org/people/jackalista] replied to the discussion
"httprouter issues with GET/POST WADL Services and Web Routing"
To view the discussion, visit: http://community.jboss.org/message/552612#552612
--------------------------------------------------------------
Hi Dave, thanks for the info. I'm trying to build the stuff now, but I'm getting an error on the HTTPClient:
[javac] /home/jack/java/jboss/jboss-soa-p.5.0.0/jboss-as/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/JerseyClientSingleton.java:9: package com.sun.jersey.client.apache does not exist
[javac] import com.sun.jersey.client.apache.ApacheHttpClient;
from this import in JerseyClientSingleton.java (line 9):
import com.sun.jersey.client.apache.ApacheHttpClient;
I took your advice (perhaps incorrectly) and put these 3 jars in my project lib folder but am still getting the compilation error:
asm-3.1.jar
jersey-bundle-1.3.jar
jsr311-api-1.1.jar
I put these in the lib directory of the project, which is the "simple_cbr" jboss quickstart which I'm using to test this stuff. Am I missing a jar? Or does it need to go in a different lib dir? I was looking at this link for dependencies, I'm using ant (the quickstarts all use ant), so I'm following the instructions for non-maven developers:
https://jersey.dev.java.net/nonav/documentation/latest/user-guide.html#ch... https://jersey.dev.java.net/nonav/documentation/latest/user-guide.html#ch...
Whoops, I looked through the zip file for jersey (I'm using 1.3, hope that's ok) and found the apache client jar and threw it in my project lib dir and now it built... wooo!
OK, no need to respond here, I'm mostly posting this to help the next poor sap to come along :)
So the jars needed are:
asm-3.1.jar
jersey-bundle-1.3.jar
jsr311-api-1.1.jar
jersey-apache-client-1.3.jar
I'm sure I'll have more to say but thanks loads Dave, really appreciate your help!!
-=j=-
--j
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/552612#552612]
Start a new discussion in JBoss ESB Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 6 months