I have a question about deploying my app.war to jboss7.
My testing environment:
OS: Ubuntu 12.10
Eclipse: Eclipse Juno (Eclipse 4.2)
JBoss: JBoss AS 7.1.1 Final
JBoss Tool: JBoss Tool 4
JDK version: JDK 7
If use the default server configuration, when I start server, it will start successfully, and my app.war can be deployed normal.
refer to this screenshot
I change "Default Settings" in Deployment tab of server configuration,
choose "Use workspace metadata (does not modify JBoss deploy folder).
refer to this screenshot
when I start server, it still start successfully, but my app.war does not be deployed.
the console has no error log and the log's content can't find any message about my app.war
I can't understand why this happens. Could someone tell me how to solve it?
Thanks for anyone's help.
Just download jboss and configure server and right click on project properties and deployement assembly then click on add and locate the target project folder
Related
We are unable to use MobileFirst 6.3 Operations Console with HTTPS. I reviewed a couple of links here and installed the last fix pack available for the server side (6.3.0.0-MFPF-Server-IF201504041503.zip).
We are having the same behavior explained in this link:
Unable to use HTTPS for MobileFirst Console 6.3
Need I install another fix or redeploy worklightconsole.war ?
Thanks in advance
You have not installed the last MFP 6.3 ifix as you can see in the messages.log file of your last zipped logs :
[4/15/15 12:00:34:754 ART] 00000012 ht.admin.listeners.WorklightManagementServletContextListener I FWLSE3199I: ========= MobileFirst Administration Services version 6.3.0.00-20141127-1357 started.
When you install a fix you have to do a minimal update of the console applications and the runtime applications with the Server config tools or the installation ant tasks. Otherwise no war files are updated.
My setup
MobileFrist Platform foundation 6.3.0.00-20141127-1357
WebSphere Application Server 8.5.5.0 (1.0.3.20130510-0831)
on Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_75-b13 (en_US)
hosted on softlayer
Installed using this knowledge center guide for 6.3
after starting the server I can visit my appcenterconsole fine.
I have 2 issues now that I can't seem to understand:
Firstly, tried to build the Myproject.war file using MFP cli to deploy the server configuration tool. However Mfp build produced all the .wlapps but no war file. Can I build a .war file using mfp build?
Secondly, built the .war file using eclipse on my local machine tried to deploy it using the server config tool and I end up with no runtime found like in the post
So I checked my java version that was fine,
checked app center version seems fine,
and checked the entries in server.xml for duplicates of WL Admin services war, only one exists.
server.xml http://pastebin.com/gXqfVknb
logs too long and paste bin counts as en extra link limited to 2 will post link to logs as comment
Use mfp bd (build & deploy) instead of just build.
It will start a test server to generate the WAR file.
I'm using Eclipse Juno and My Application runs on JBoss 6. Now we are migrating from JBoss 6 to JBoss AS 7. I'm not able to configure the JBoss 7, when i add download additional server adapter, none of the adapter's are shown in the wizard. I also tried manaully by Help->Install New Software and using this link http://download.jboss.org/jbosstools/updates/nightly/core/trunk/ but it says some context.xml not found.
Is there any way, i can use the JBoss 7 with eclipse juno version.
I'have added -Djava.net.preferIPv4Stack=true to eclipse.ini and it solved the problem. May be it's related to some proxy settings.
I can't figure out where I am going wrong. I have Eclipse Indigo, JBoss 7.1, JBoss Tools installed. I have this configuration working on my Windows7 64-bit system. I am attempting to set up a co-worker's Windows XP 32-bit machine with the same configuration but am not able to get the server to launch. I have configured the server but when I attempt to start the server, I get an error indicating that it was unable to start the server but there is no specific error listed.
I am able to start JBoss from the command prompt using the standalone.bat file.
I am able to configure the standalone.xml file from within Eclipse. I have confirmed this by checking the file in the standalone/configuration directory.
When I attempt to publish the project from within Eclipse, it does not publish.
Nothing gets written to server.log
The startup parameters match what I have on my computer.
I can't figure out what I am missing. Any suggestions would be appreciated!
Edit:
I have done some more checking. I am able to publish to the server and I am able to start the server (with the published application) fine from the command prompt. That part works. When I attempt to start the server from within Eclipse it gives me "Server JBoss 7.1 Runtime Server failed to start." It never writes anything to the console tab in Eclipse either so I can't tell why it is failing to start.
Also in the Servers tab, there is an entry called "Server Details". When I expand that entry, it says "Not Connected".
The answer to my problem is that Eclipse had be configured to use the java JDK, not the JRE. As soon as I switched over to use the JDK it started working fine. For some reason JBoss will start under 64-bit windows with the JRE but under 32-bit you need to use the JDK. I found the answer here: https://community.jboss.org/thread/169097
I've installed Glassfish 3.1.1 and Eclipse Indigo onto a Win 7 machine but cannot add the Glassfish server via Eclipse's Servers view.
Oracle Glassfish Server Tools 1.8 is also installed but despite this there is no Glassifish entry in the list of avilable server adaptors.
I will continue to scour the web for a way around this but if anyone can advise I'd be grateful.
Thanks
You need to install the JavaEE development edition of Eclipse, and in that go to the Eclipse Marketplace where you can find and install the Glassfish adapter.
I had to restart eclipse two times before it appeared. This seems like a bug to me but I'm new in the Eclipse world