- This topic has 6 replies, 2 voices, and was last updated 11 years, 9 months ago by support-pradeep.
-
AuthorPosts
-
amir55Participanthi dear all teams
I need to use now JBoss 7 instead of 4.2.2 but I do not know how that is done.
I followed many sites on eclipse and they are all confusing.
Anyone from a team can have a clear tutorial or text details
many thanks in advance
Amir
support-pradeepMemberAmir,
Can you please follow these steps to add Jboss 7.1 server to MyEclispe for Spring :
1) Download Jboss 7.1.1 final server zip file from here – http://download.jboss.org/jbossas/7.1/jboss-as-7.1.1.Final/jboss-as-7.1.1.Final.zip
2) Extract the downloaded zip file to some folder
3) Open MyEclipse for Spring and go to Window > Preferences > MyEclipse > Servers > Jboss > Jboss 7.x
4) Select Jboss home directory by clicking on browse, select the Jboss folder you have extracted in step 2
5) Select Enable and click Apply and then click Ok
6) Go to servers view, right click on JBoss 7.x and click Run server.
7) Open your browser and enter this link – http://localhost:8080 . You will see “Your JBoss Application Server 7 is running.” message in the browserLet us know how it works for you.
amir55Participanthi sir
I did and get the error
A configuration error occurred during set up
Error in server name error which one is server name if my computer then amir not accepted either I put username or password not even working !
see attached
many thanks
Attachments:
You must be logged in to view attached files.
amir55Participanthi again dear sir
one more point is that inmany sites of eclipse says I have to install JBoss Tools (Indigo)
but how to do that as well.
take care
Amir
support-pradeepMemberAmir,
I could not replicate the issue at my end. There is no need to install Jboss tools in MyEclipse, as MyEclipse 10 supports Jboss 7 server.
Can you please answer some more queries to help us investigate further :
1) Can you please make sure that directory you specified is correct ? In your attachment it is observed that your JBoss directory is “D:\Jboss_group\Jboss_7.1.1”. Does the JBoss_7.1.1 folder has bin,domain,etc folders in it ?
2) From the attachment it is observed that in the JBoss 7 preferences page, the server name is “default”. Can you please tell us whether you added it or did it come automatically ?
3) Can you please mention at what step you are getting the error and also please attach the screenshot when the error is shown ?
4) Can you please attach the .log file from <workspace>/.metadata/.log file to help us investigate further ? If there are any error messages in console view then please attach them also ?Please check the attached screenshots of JBoss preference page for reference :
amir55Participanthi sir
I do thank you a lot as the sever is now running. The default value was one to use with jboss 4.2 but looks not needed here.
The attempt now to run my previous simple applications that uses the database mysql.
I get the page attached to you which shows no entry for JBoss 7 but up to version. 5.
now to add new adapters is a bit of what to do a matter.
MyEclipse was configured with mysql before and worked fine with JBoss 4.2.
I used a file in jboss 4.2 called mysql-ds.xml that configured the database mysql as follows
*************************************
<datasources>
<local-tx-datasource>
<jndi-name>mySQLDS</jndi-name><connection-url>jdbc:mysql://localhost/test</connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<user-name>root</user-name>
<password>amir</password>
<min-pool-size>5</min-pool-size>
<max-pool-size>20</max-pool-size>
<metadata>
<type-mapping>mySQL</type-mapping>
</metadata>
</local-tx-datasource>
</datasources>***********************************
the question is how to add this file to JBoss7? This would solve the matter I guess.
take care with my utmost gratitude and patience
Amir
Attachments:
You must be logged in to view attached files.
support-pradeepMemberAmir,
Can you please mention the exact steps in detail to help us replicate the issue that was attached in your screenshot ? Also, please mention what kind of project is your “previous Simple application” ?
Regarding configuring MySql with Jboss 7, please take a look at these threads :
http://planet.jboss.org/post/jboss_as_7_1_0_final_thunder_released_java_ee_6_full_profile_certified
http://developinginjava.blogspot.in/2012/03/installing-new-instance-of-jboss-711.htmlIf you are facing issues configuring MySql with Jboss, I suggest you please post your issue in Jboss forums for more support on configuring MySql with Jboss.
-
AuthorPosts