Deployed EAR file does not include 'Web Service Properties' section - java

I had a EAR deployed to a Websphere server by our middleware group. When I look at the EAR properties in my local server console they show the Web Service Properties like this screenshot. This is a web service application that works using my local server in RAD.
The screenshot from the deployed application is missing the Web Services Properties section. I do not have direct access to the server, this was sent to me by my middleware resource.
There is only one EAR file that was sent to be deployed. The problem of course is that the services of the deployed application are not there. I believe that the EAR configuration is the root cause, and I am asking how to fix this issue. I am fairly new to Websphere, and at a loss on how to proceed. Thanks in advance!

The issue is the EAR is not deployed correctly. You may have to check the logs during deployment. The logs will give you the exact reason why the EAR is not completely deployed.

Seems you missed to change the project facets.Please find below:
enter image description here
It worked for me.

Related

How to deploy webService and get access to wsdl?

I have got a webService without ui. It simple jax-ws app that will allow to manage users via soap requests. I tried to deploy it on websphere. It was deployed, But! my app doesn't appear in Service Providers and i can't get access to wsdl file via url that i pass in wsdlsoap:aderess location. It haven't got any servlets and other stuff. I create my app using template that deploy with success, it appear in Service Providers. I research all internet, but idk what go wrong.
P.S: Template project was eclipse project. I just add maven and has no idea why it wouldn't work.
The fact that your web service hasn't appeared in the Service Providers section means you've deployed it the wrong way.
Check whether you've selected the "Deploy web-services" option during deployment.
You probably got an issue in your trace.log file which possibly references to the ffdc, check it to investigate the problem.
You also haven't mentioned if you using servlet or EJB-based web services.

Deploying SIP servlet on Jboss

I'm new to SIP Servlet development and I would like to know how to deploy my Sip servlet to my Jboss server.
I can't seem to find how to do it by googling it. I see a lot of information on using mobicents but do I have to?
Can't I just deploy directly like I would my HTTP servlets?
Thanks!
EDIT:
Also what is the exact difference between JAIN sip servlets and Sip servlets?
Mobicents provide Jboss and tomcat applications servers with additional modules which are required to deploy and run your sipservlet application
if you download and extract the jboss distribution you can see there are some modules call
sip-presence,sip-balancer , mobicents-media-server-1.0.3.GA.sar in deploy folder these are few and you will find a lot of additional modules/resources.
What you have to do is download the jboss from here and deploy your sipservlet war file as a normal web deployment.

Should an application server be restarted after making any changes in any class?

I have 2 EARs deployed on my application server(WAS). Now if I made any changes in class of one project corresponding to EAR one do I need to restart the server? Or do I need to republish just that EAR without affecting others?
I think if you have dynamic class reloading feature enabled for that project in websphere admin console, then you need not to restart the server.
You don't need to restart the server for resources bundled in your applications. See the Infocenter topics for options and procedures: Updating enterprise application files

Can multiple projects have the same context-root?

I am going to build a many web services using weblogic and JAX-RS. To keep things simple I was going to place each service in its own project. But the problem I seem to be having is with setting the context-root for each project.
Can multiple projects that are deployed on the save weblogic server have the same context-root?
of course not. how do you expect weblogic knows which web application you are calling?
edit:
however, it is possible to give one web application a context root of /webapp and the other /webapp/ws

Deploy Java EE Project in Weblogic

I have WebLogic installed in my computer. I already added it as a server in my Eclipse IDE. How do I configure my Web application to run or for it to be deployed on the WebLogic server. I found a sample project and found a weblogic.xml in it. Where do I start? Do I need to add something, etc.
If your web application is already a "Dynamic Web Application", then you should be able to deploy it just by right clicking on it, then Run As > Run on Server and choose the WebLogic Server runtime.
If this doesn't work, maybe you need to add the right facet to your project. Right click on your project and go to Properties > Project Facets and check that Dynamic Web Module is checked.
If this still doesn't work, maybe recreate a "Dynamic Web Application" from scratch and move (or copy) your sources to this newly created project.
Many tutorials are actually available at the WTP Community Resources page. See for example Using the Eclipse Web Tools Platform with Apache Tomcat. It is not specific to WebLogic but if you already have it setup in Eclipse, it should be easy to adapt the specific parts.
PS: It's hard to say anything about your sample project and the weblogic.xml as you didn't provide any detail about them. Maybe try to follow the advices above and, if you still have problems, update your question with more information.
There are a number of resources on using Eclipse with WebLogic, including Oracl'es Enterprise Pack for Eclipse. It's hard to tell without more information, but you need a WebLogic Domain configured with at least an Admin Server to deploy the web application to. When doing local development, it's acceptable to deploy applications to the Admin Server, but beyond this you typically want an Admin Server and a managed server where the application will get deployed to.
Here's some info on Eclipse and WebLogic - http://www.oracle.com/technetwork/developer-tools/eclipse/learnmore/index.html
Question is missing much details. You can find some detailed help here
http://download-llnw.oracle.com/docs/cd/E13222_01/wls/docs90/deployment/index.html

Categories