Siitesh Hind

Ranch Hand
+ Follow
since Sep 06, 2012
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Siitesh Hind

I want to configure JBoss AS in clustered mode.
7 years ago
What I meant was I dont have JDK 1.5 or JRE 1.5 installed.

But I have installed JRE 1.6 Update 22 on the machine which is default installed by the IS team.
7 years ago
Chris

"I didn't specify Athena. But I used -b 0.0.0.0 for the JBoss binding, so that other computers on my network can connect. I guess it picked up the host name from DNS because of that. "

Did you had the setting as mentioned above to check in SOAPUI?

Jai

Does the AS version create an issue like this? I have 7 versions of JBoss. Never faced a problem like this before

7 years ago
Thanks Peter for one of the posts you had recommended earlier on not setting the JAVA_HOME in the JBoss configuration file which I had overlooked in standalone.bat. I removed the extra JAVA_HOME & JAVA setting in the standalone.bat. I reverted to the original setting.

if "x%JAVA_HOME%" == "x" (
set JAVA=java
echo JAVA_HOME is not set. Unexpected results may occur.
echo Set JAVA_HOME to the directory of your local JDK to avoid this message.
) else (
set "JAVA=%JAVA_HOME%\bin\java"
)

BTW I dont have JRE or JDK 1.5 installed on the machine
7 years ago
Found the issue in the standalone.bat file not being configured as required.
7 years ago
@SOAPBinding( style = SOAPBinding.Style.RPC )

or

@SOAPBinding( style = SOAPBinding.Style.DOCUMENT)

works just fine. Nothing wrong here if you have it in the code.

Can you execute the wsdl using Internet Explorer instead of SOAPUI?

7 years ago
JVM is JRE 1.6

java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)
7 years ago
Hello,

I am getting the following error while trying to run the standalone.bat of jboss-as-7.1.1.

The java class could not be loaded. java.lang.UnsupportedClassVersionError: (org/jboss/modules/Main) bad major version at offset=6

JBoss 5.1.0 GA works just fine on the same Windows box.

Could anyone tell me how to resolve the same?

Rgds,

Seetesh
7 years ago
Just one question for you

How did you specify the Endpoint Address to map to Athena in your code?

Default it is 127.0.0.1

http://127.0.0.1:8080/xxxxxxx?wsdl
7 years ago
@WebService(name="MyWebService" , portName="MyWebServicePort",targetNamespace="http://www.abc.com";)

This too works
7 years ago
Try again by commenting out the @SOAPBinding( style = SOAPBinding.Style.RPC )

Redeploy the WS again
7 years ago
Hey Peter

Is JBoss 6.1 a stable version to play with considering the issues popping up?

Raghu can check with 5.1.0 GA which is a stable version unless he is getting the same error there too.

If the error persists, the application deployed will need a relook at as per your post.
7 years ago
please reply to my message sent
7 years ago
remember to state the context path in your JSPs
7 years ago
did you add that entry in context.xml file?

Context path="/images" docBase="c:/shared/images"

this is the only place to configure the same.

Keep a backup of the context.xml that you are about to modify
7 years ago