weblogic cluster eclipse target - java

i'm currently maintaining a struts / spring java webapp running on weblogic 10.3.6 . I use eclipse neon for development, gradle 2.14 and git to do so.
Our customer wants to incorporate weblogic's clustering features so i'm trying to get my head around that.
I managed to set up a cluster with two servers and to deploy the application to it via weblogic administration console.
Now i'm trying to access the cluster in eclipse but it is not visible as a target. I tried restarting weblogic and re-adding the server.
In Oracle's tutorial there is no hint on what else i should configure on either side: http://www.oracle.com/webfolder/technetwork/tutorials/obe/cloud/javaservice/JCS/eclipse_jcs/eclipse_jcs.html#section2
Has any of you seen such behavior ? What else could i do ?
Thanks in advance for any hint !

Somehow, magically, all of a sudden all clusters appeared in eclipse server list... Probably after one or two restarts of weblogic...

Related

Deploy Artifactory in existing Tomcat

I'd like to deploy the OSS version of artifactory in my existing Tomcat environment. My first try was to simply throw in the two wars that come with the bundled Tomcat. I had to copy over the derby jar, too, so that part seemed to work. I then got blocked by an issue with authentication tokens.
The manual I found is pretty outdated and talks about V2.x only. What I found here was this:
Deployment of my application in existing tomcat
Now - how official is this statement? I didn't find anything on their website saying that it's not supported anymore.
I'd need now
either a helpful resource (for me)
or a link to an official statement (for my management)
Thanks!
Well, I guess this qualifies as an official statement (at https://www.jfrog.com/confluence/display/RTF/Release+Notes#ReleaseNotes-Artifactory4.0)
Tomcat 8 as the Container
JFrog Artifactory 4.0 only supports Tomcat 8 as its container for both RPM and standalone versions. If you are currently using a different container (e.g. Websphere, Weblogic or JBoss), please refer to Upgrading When Using External Servlet Containers for instructions on how to migrate to Tomcat 8.

Why does JBoss always redeploy .WAR files that have already been deployed but not changed?

I am new to using the JBoss 7.1.1 server and am confused by a behavior that I have observed.
My JBoss server is deploying the six jBPM .war files (designer, drools-guvnor, jbpm-form-builder, jbpm-gwt-console, jbpm-gwt-console-server, jbpm-human-task-war) which I have placed in the .\jboss-as-7.1.1.Final\standalone\deployments folder.
When I launched the server for the very first time it detected these files and deployed them. I see the deploymentNNN and tempNNN folders appear in the .\jboss-as-7.1.1.Final\standalone\tmp\vfs folder. This is similar to the behavior I'm familiar with from my use of the tomcat server.
I then shut the server down and observe that the two folders created in .\jboss-as-7.1.1.Final\standalone\tmp\vfs are retained but their contents are automatically deleted. When I restart the server it once again deploys the six jBPM files into a new pair of folders in .\jboss-as-7.1.1.Final\standalone\tmp\vfs.
This is very surprising because no changes have been made to the six jBPM files and the problem is that this redeployment takes 3 to 4 minutes.
If this was just happening in a "production" environment then perhaps this would not be much of an issue. However, I am trying to integrate the JBoss server into use with Eclipse Kepler in a development environment and having to wait 3 to 4 minutes for each code change and server launch is not practical.
1) Can anyone explain why JBoss goes to the trouble to redeploy files that have not been changed?
2) Is this a behaviour that can be changed through a configuration setting?
3) Is there any settings where we can stop the jboss to redeploy the war files when it restarted
Thank you,
All
In order to stop JBoss from re-deploying your apps (and deleting on shutdown),
try deploying the apps in unpacked form.
extract the files to {name}.war directories (e.g /designer.war, /drools-guvnor.war)
and then deploy these directories (i.e copy them to the deployments folder)
Alternatively, try to deploy them using the JBoss CLI
Deploying differently won't change the fact that at startup JBOSS reloads your application to the JVM.
This can take time because your application stores data from database to your server memory. (You could as well be hitting this WFLY-925 bug... Or the one they are talking about here...)
The thing is you normally don't need to restart your server completely when redeploying. You can hot-deploy your module - see also full doc. at Auto-deploy mode. (make sure the feature isn't disabled
If you need some context to be reloaded, I advise you have a specific procedure in your code that you can call to reload all cached info. instead of restarting completely (e.g. have a call to a specific URL from your application do it...)

How to add new Clustered Server to Eclipse?

In my Eclipse Kepler, I want to add a new Server (from Weblogic) at the Servers View. I can add my admin server domain, it is ok. But in my weblogic, I have a cluster, which has 2 servers also (dev-server_01, dev-server_02). How could set the Eclipse, to add the dev-server_01 server from the cluster? If I try to add it from my domain's server location, it gives me error about he cannot find the config.xml, and I'd searched for this config.xml, but there is only 1 config.xml, under the domain root folder.
So. Is there any way to add a new clustered server to eclipse from weblogic, or the Eclipse can manage only the AdminServer? Thank you!
Maybe You are looking for a WTP for weblogic server.
Try out this website , maybe it can help.
http://www.oracle.com/technetwork/developer-tools/eclipse/downloads/index.html

Deploying java application in jboss application server

I have a java application which I was running using tomcat server. Now I need to run the same application in jboss server.I am new to jboss, I tried deploying war file in jboss but not able to do so.
I don't know what changes needs to be done for application to run on jboss.
Any one please guide me.
Thank you.
An obvious answer would be Read The Friendly Manual.
You can configure JBoss to autodeploy files in the standalone/deployed/ directory for example, you can also use the maven-jboss7 plugin to handle deployment from maven.
I'm sure the jboss community forums have plenty of examples.

JBoss 7 application, start/stop from ui?

I am running an application on a Jboss 6 server and using mbeans to start/stop my app without redeploying/restarting server. I was testing on JBoss 7 and saw that there were no mbean support.
How do I create that functionality now? I've yet to find anything on this.
There is MBean support.
In what area do you experience problems: when deploying MBeans or accessing them, ...?
In the meantime (2015), there is a portation of the AS5 jmx-console, which can be deployed to AS7 and WildFly.
See https://github.com/wildfly-extras/jmx-console

Categories

Resources