Jboss Application servlet 7.x deployment query? - deployment

I was using jboss 5 so far my project. My project used following technology jsp,servlet,ejb3,postgres and hibernate. Now i have a plan to migrate jboss 7. i need some information related to persistence.xml and datasource. because jboss 7 directory structure looking completely different. please give a suggestion how to migrate? thanks in advance.

You need to provide a lot more details on your setup for this to one just one simple answer, but I can provide these links as an answer:
https://docs.jboss.org/author/display/AS7/How+do+I+migrate+my+application+from+AS5+or+AS6+to+AS7
https://docs.jboss.org/author/display/AS71/How+do+I+migrate+my+application+from+AS5+or+AS6+to+AS7

Related

Fuse Project in JBoss Developer Studio

I'm new in JBoss Developer Studio.
Where I can find example, how I can make fuse integration project and RUN it on server? I cann't run my test project on server, I see a lot of errors, but my project consist only LOG component. And Why I cann't run this project on EAP 7.1 or Fuse 6.3?
i have JBoss EAP 7.1 and JBoss Fuse 6.3.
Thank you in advance, and sorry for my English)
Offtop:
When I use Mule, I can make and run my first project for 10-15 minutes. But in Developer Studio it's very... difficult. I wasted 2 days without result
I am sorry that you are facing problems.
I would suggest you try to read the documentation at https://access.redhat.com/documentation/en-us/red_hat_jboss_fuse/6.3/pdf/tooling_tutorials/Red_Hat_JBoss_Fuse-6.3-Tooling_Tutorials-en-US.pdf . It is a good starting point for writing camel routes with the JBoss Fuse Tooling. I would also recommend you learn more about Apache Camel at http://camel.apache.org as the tooling is for Camel.
Hope that helps,
Lars

IBM websphere to JBOSS migration

I want to migrate EAR and WAR applications from WAS 8 to JBOSS AS 7.
Can any one provide any Check List for the same?
There's an automated pluggable rule-based migration tool JBoss Windup. Run the tool and get a report of what needs to be done to migrate.
You can also customize this tool to cover your specific code patterns you need to migrate. Sharing your custom rules back to the community is highly appreciated.
Have fun :)
WAS has tool Application Migration toolkit to check application being migrated from WebLogic /Jboss to WAS , not sure if such tool exist for JBOSS
http://www.ibm.com/developerworks/websphere/downloads/migtoolkit/compmig.htmlc

Which JBoss application server's version is stable and latest?

I am new to JBoss application server. when I go for download the application server in the website. I am seeing the below servers list in the top
EAP built from AS 7.3.
EAP 6.2 Maven Repository.
EAP 6.2 Quickstarts.
kindly help me. Which is the best one. otherwise, shall I go for any other open source application server.
Thanks
I don't want to make any comment about these things you mentioned. But I can share my experience with you.
Jboss 5.1: It was good.
Jboss 7.1: I faced a problem with log4j issue. Its very complicated.
EAP 6.2: Its much stable than 7.1. my log4j problem is solved with this version.
So, it totally depends upon how deep you want to use jboss.

Eclipse EAR module publish log

I am using weblogic worshop to develop my spring based application. Basically it takes lot of time to publish the application to weblogic server. Is there any way to find out what’s going on when eclipse try to build and deploy the project? Basically does it maintain any log file?
Thanks ,
Manoj
Weblogic does a stupid thing according to my experience. If you deploy some WAR, it extracts the libraries in it, and does some analysis in them. You can avoid this behaviour by removing the "static" (not changed by you during work) libraries from the war during development. After removal, add them to system classpath of the domain. It will publish and start a lot faster.
You will find better support for developing Spring applications for WebLogic Server if you migrate to Oracle Enterprise Pack for Eclipse. Workshop is legacy software that is no longer being actively developed. Using Workshop is only necessary for those developing with the deprecated Apache Beehive framework.
http://www.oracle.com/technetwork/developer-tools/eclipse/overview/index.html
OEPE includes a much newer publisher implementation, so you may find your issue resolved. If not, please post to OEPE forum for direct access to people who can answer you question.
Cannot post a forum link, but you can find it from the above URL or via Google.
Thanks Konstantin and Gabor for replying to my question.
Konstantin - I am using Oracle Weblogic workshop 10.3 and I am restricted to use this IDE only.I guess it has OEPE correct me if I am wrong.Also I tried the FastSwap action but everytime I save the changes to a java file the server says -'Publish' and I have to republish the entire application which is taking lot of time.
Thanks,
Manoj

Running JUnit tests with Embedded Jboss

I need to run junit tests for classes using ejb3 beans. In our case setting up jboss just for this purpose is not an option and therefore we need an alternative way to simulate the ejb communication. I've read that this should be possible with Embedded Jboss's EJB3StandaloneBootstrapper, but the problem is that I cannot get it to work properly.
I was wondering if anyone of you know of a good tutorial which explains all the details, including how to configure the various files (embedded-jboss-beans.xml, ejb3-interceptor-aop.xml etc). With the embedded jboss package came a tutorial for junit with example code, however, the build script in it failed. If you don't know a tutorial, do you at least know where I could find a working example of embedded jboss + junit?
I did a presentation on using the embedded JBoss and had a download with example code. Hope this helps.
I believe Jakarta Cactus is the proper framework to run such tests.