[JAM] Warning: failed to resolve class - weblogic.developer.interest.webservices.general(Archived)

Hi,
I'm trying to deploy a simple JAX-WS web service in a Weblogic 10.0 server but during deployment, I keep getting :
[JAM] Warning: failed to resolve class com.test.TestWebServiceImpl
and no stack trace at all. I'm deploying the WS in a warfile and the deployment goes fain only that the web service is not deployed and when I try to test it using the admin console, I see "This Web Service is not currently available". I have also followed this tutorial: http://dev2dev.bea.com/lpt/a/596 and the built war file has the same problem.
Any idea is appreciated.
florin 

I am also trying to deploy a web service using JAX-WS except I created an EJB3 session bean that exposes web service methods. I've packaged them in an .ejb3 file. I've deployed this application on a JBoss container and have no issues with it generating the web services.
When I deploy the same application to WebLogic 10.0, I get a warning message indicating "[JAM] Warning: failed to resolve class opencase.ws.OpenCaseAdWebServices", where OpenCaseAdWebServices is the implementation class of the EJB3 session bean and web services.
One more thing to note is that I have another class containing web services that is also an EJB 3 session bean in the same package; but WebLogic isn't complaining about that class. I'm not sure if it's because it's skipping over this class because of the error with the other class or not.
If anyone has any idea what might cause this behavour, please let me know because I've been stuck on this problem for the past few days now. 

I too am having the same problem. My web service is a POJO end point in a war (part of a EAR). No issues compiling and deploying but..... in the admin server console, I see this same "[JAM] Warning: failed to resolve class [TestService]".... Also, in the admin console, when I check the web serice, it says "This Web Service is not currently available"
I'm REALLY frustrated by this. It seems like BEA is missing a lot when it comes to documentation of all these issues. The whole process of creating and deploying a ws seems shoddy and brittle.
Any help would be appreciated. 

I had a similar problem to the last poster, kept getting
This web service is currently not available after deploying the JAX-WS example shown in the BEA document at:
No errors/warnings were being stamped in any of the logs.
I finally narrowed it down to my having fields in the #WebService annotation for the JAX-WS server-side class. When I used just #WebService() as the annotation as opposed to providing fields such as #WebService("someServiceName"), it seemed to deploy without the above message. Hope that helps.

Related

JBO-33001 bc4j.xcfg CLASSPATH problem in deployed java web service

Hi
I have deployed a web service that uses a simple java class to update some BC4J EO's.
I have included the deployed jar files in the OC4J Classpath.
I have also deployed the web service to the application server.
I then call the web service from BPEL.
During the web service call, I'm getting the following exception:
exception on JaxRpc invoke:
start fault message:
oracle.jbo.ConfigException: JBO-33001: Cannot find the configuration file /cb/test/peoplebc/common/bc4j.xcfg in the classpath at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:367)
I've checked that the file is deployed in the MiddleTier jar file, so not sure what to do.
Any ideas most appreciated.
Cheers
Chris 
Hi,
This may sound a bit stupid, but as a quick and dirty solution i just copied the common directory with the bc4j.xcfg file where it is looking for it. This makes it at least work. Any updates to the xcfg file done will of course not be reflected.
Regards, G

Deployment of Application Client & ADF Faces Web Client & EJB& Entity Beans

Hi,
I have a problem with deployment of EJB's that is being used by ADF Faces Web & Application client same time..
Can anyone please make sample project and its deployment profiles? So i and people having problems with this situation like me can benefit.
If you do not have time, at least you can answer some questions please..
EJB beans use Hibernate for OR/M.
Must entity beans deployed twice for both WebClient and Session beans? When i do not deploy entity beans it works but somethimes throws ClassNotFoundException, if i deploy them for both EJBs and WebClient, it throws ClassCastException when i try to use them..
I have many more questions about this situation but all of them are not in my mind, so if you please make sample Project with deployment profiles, it can help me & others better..
Thanks.
Message was edited by:
Oak 
Important note: EJB's must be deployed in EAR file because JNDI name must be
earname/SessionEJB/remote
earname/SessionEJB/local
Because same EJBs will be deployed twice with different package name in order to use different datasources
Thanks again.. 
Still having problems about deployment.
I have an Application containing 2 Projects
1st one is EJB (PersonEJBBean remote & local interfaces + PersonEntity) (EAR)
2nd one is ADF Faces JSF Web Application (PersonBackingBean uses PersonEJB and PersonEntity) (WAR)
I have 2 different deployment profiles.. EJB deployment is ok no problem, however when i try to deploy web side, i'm having problems.
If i deploy web application without PersonEntity, JBoss throws me an error ONLY on startup, if i re-deploy everything works correctly.
If i deploy web application with PersonEntity, JBoss does not throw an error on startup but it throws an error when i try to run web application through browser, and the error is ClassCastException.
Any solutions please? It drives me crazy.. Thanks

Failing miserably trying to create webservice w/EJB backend

Hi,
I am trying to create a webservice that is using an EJB backend, using Workshop 9.2, and so far, am not able to.
I've tried several approaches, including creating an EAR project, a webservice project, and an EJB project, then trying to click Web Services->Create Web Service, but I get a ClassNotFoundException, and it can't find the EJB class, I think.
So, I tried the approach at:
http://e-docs.bea.com/wls/docs92/webserv/jws.html
I created an EAR project and a webservice project, then I added the #Session annotation to the webservice JWS/.java file, but then I get an error that says that there is conflict in annotation at the class level.
If I remove the #Session, that error goes away, so it seems like Workshop doesn't like both the #Session and #Webservice in the same file?
If that's the case, then how can you have a webservice that is using an EJB as its backend?
Thanks,
Jim 
Hi,
When I try to build the webservice from the EJB in Workshop (9.2), the popup error says:
IWAB0398E Error in generating WSDL from Java: java.lang.ClassNotFoundException: thepkg.theactualejb
Jim 
Hi,
I've gotten past the "IWAB0398E" error when trying to create a webservice from my EJB using Workshop, and the new webservice itself seems to be working
However, I expected that Workshop would have automatically added a .java/JWS file into my Webservice project, but it doesn't look like it did.
I need to add some security-related annotations to the webservice, but, if I can't find the .java/JWS for the webservice, I can't do that, so can anyone tell me where Workshop places the .java/JWS for the webservice when you do a "Create web service" from an EJB in Workshop??
Thanks,
Jim

Axis Client Invoking WebServices on Tomcat within WLS8.1sp2

Hi,
I am working on a project in which I have encountered a strange ClassCastException behaviour. Here's the scenario:
We have created a client.jar which uses Axis 1.1 to invoke Web Services on Tomcat 4.1. The jar file works fine when used within a normal Java application.
However, once the it is used in a Weblogic 8.1sp2, I continue to encounter ClassCastException error. We have written a EJB that will call the APIs provided by this client.jar file. This jar file will then try to invoke web services on another server that is running Tomcat and return the information requested. For some reason, it always throws ClassCastException and it always seems to use the web services library provided by Weblogic. We have also explicitly used the Apache Axis libraries to create the web services objects instead of relying on the generic Java XML-RPC.
Appreciate any advice.
Thanks,
Simon

Web Center Services - Wiki (WebCenter 11g)

I have succesfully completed all the installations for web center 11g . But when i log into weblogic admin console i find that the owc_wiki does not have a test point url . Also in the comments it says "None of the targets for this Deployment are running. No test points possible." What should be done so that i get the test point url for wiki . 
Hi,
I have the same problem while I am trying to create and deploy my own ejb3 webservices.
The webservices are ejb3 #Stateless beans and they are located in a separate jar file. The jar is a part of a bigger ear application that uses ejb2, too. The application is deployed successfully, the ejb3 webservices are listed in weblogicv console (under the application ear deployment), but when I try to test the service, I get the following message:
"None of the targets for this Deployment are running. No test points possible"
I figured out that clearing the ear file so as only the ejb3 jar is left inside, in most cases solves the issue - webservices get activated. But it is not deterministic.
What could I do wrong?

Categories

Resources