Weblogic deployment error - java

I have weblogic 9.2 and myeclipse6.0.1.I am able to deploy the project through myeclipse, but not able to see in the weblogic console(inside the deployments).
project deploying and running the server in myeclipse.as well project able to see in the weblogic domain autodeploy folder.But inside the weblogic console nothing there.
What is the problem here ?

I had a similar issue with glassfish a while back. Your issue may be that myEclipse has defined its own weblogic app-server and is not using the one you have on your machine. To change the settings and set your default weblogic server go to Window->Preferences->MyEclipse->Servers->WebLogic->WebLogic9.x and specify your installation directory and any other settings you require.

Related

autodeploy web service java with glassfish server 4.1.1?

How can I do to deploy the web service automatically,I have the webService.war file ?I'm working with glassfish 4.1.1 and use a external library postgresql-9.4-1203.jdbc4.jar and I dont know how deploy the .war file thanks.
Not sure what you mean by deploy automatically, however, DeshanR's suggestion is still workable even for 4.1.1. You also have two other options:
You can deploy the war file from the browser by pointing your browser to yourdomain:4848. This will bring you to the glassfish admin console (provided glassfish is up and running and your glassfish is set to use port 4848, which by default it should be). You can then deploy your war file under the applications menu.
If this is a dev environment you can also deploy to your local glassfish from your IDE. This is an example for Eclipse. Connecting your IDE to your local glassfish has the advantage of allowing you to publish changes as you make them.
If you're using the postgres jar file for the JDBC driver and Glassfish's Connection Pool, you will need to restart the server to deploy that file after copying it in to your domain/ext/lib directory.
For the WAR, there is the asadmin command line client, your IDE may have direct support to deploy it from there, you can use the GF administration console, or you can copy the WAR in to the domain/autodeploy directory (assuming you have autodeploy enabled, which is it by default).
There are also HTTP and JMX interfaces, but those are probably not what you're looking for.

Deploying ear file in JBoss 6.2

We have a EAR file which is working fine on our Wildfly server and is accessible through http://localhost1:8080/proj
Due to backward compatibility reasons (with another tool) we have had to install JBoss 6.2 and deploy the EAR on JBoss. Although the EAR deploys without any error, it returns 404 error when I go to http://localhost2:8080/proj.
No errors in logs are displayed either:
JBWEB000067: Status report
JBWEB000124: The requested resource is not available.
Do I need to rebuild the code with some changes? I would assume the same EAR file would have worked. Any help is much appreciated.

Deploy the web application using weblogic adaptor for eclipse

I have installed weblogic 9.2 adaptor for eclipse kepler and try to deploy the application with eclipse. I right click the project and choose run configuration and click on run.
The server already started and i can see in the console,
But in the eclipse server tab it shows as BEA WebLogic Server v9.2 at localhost [proj] [Stopped, Unable to validate weblogic domain].
Any way But the server seems started as when i try to strat the server directly it says server already started.
But the problem is the application is not deployed when i use the plugin.
Also i want to clarify previously when i manually deploy i ran an ant build script which create a EAR file and then i deploy it using web logic web admin console. But now when i use eclipse does eclipse plugin do the build script job of creating a EAR and deploy it or is there i need to do more?
The problem here is eclipse is working on java 6 and weblogic is running on java 5.
The workaround is
add
-Dsun.lang.ClassLoader.allowArraySyntax=true
after -vmargs string in eclipse.ini in your eclipse directory.

Debug application in Jboss 5.1 using local debugging mode in Eclipse

I am trying to setup my eclipse project to be able to debug an EJB application that is deployable in Jboss 5.1. To configure the debugging options i used the options described here:
JBoss debugging in Eclipse
I tried the above and it works but with the following limitations:
If i change any code, i have to rebuild the application and re-deploy into Jboss and restart the server. We use ANT to build the project so having to rebuild and re-deploy the application because of a small change is not really ideal.
I managed two approaches:
The first one as described in JBoss debugging in Eclipse. This requires that i copy the war file manually, start up jboss remotely then start the remote debugger in ecliplse.
The second approach is i would still copy the war file manually to jboss but not start jboss remotely. Instead i would start jboss within eclipse. This sort of works but the problem is i still have to do the manual deployment when i make a change.
I have debugged an application within eclipse running in Tomcat before and with that all i had to do is just restart the server if i make a change to the code.
Is it possible to debug an EJB application locally within Eclipse so that if i make a code change all i need to do is restart the server locally and not need to redeploy the war file?

Netbeans can't find running Tomcat

I'm running Tomcat inside of Netbeans. I added Tomcat server(not bundled with Netbeans) to Servers in Netbeans. But, when i'm trying to run Tomcat, it starts(i can visit Tomcat home page), but Netbeans can't find it running. Where is the problem?
No stacktrace in Tomcat.
When i'm deploying my project`s war in this Tomcat manually, everything works, but i need to deploy it automatically from Netbeans.
Configuration:
Netbeans 6.8 + Tomcat 6.0.26 + JSF and Hibernate project.
I changed port from 8080 to 8081, and it seems to work. I don't have another Tomcat running on background. Smth is using this port, and i don't know why.

Categories

Resources