Quantcast
Channel: GlassFish Related Items on Java.net
Viewing all articles
Browse latest Browse all 1091

Glassfish does not deploy ear-file correctly

$
0
0

Hello,

I´m using Glassfish in version 3.1.2.2 build 5 (Open source edition) and want to deploy my ear-file. This is how I do this by using command line:
${GF_HOME}/bin/asadmin --user admin --passwordfile ${MY_BIN}/password.txt --host 127.0.0.1 --port 4848 deploy --name my_ear --target domain my_ear.ear

I´m getting a 'build successfull' but when I want to deactive it via GF-Webadmin-tool, I'm getting an error. If I open this deployed ear via Webadmin-tool (it shows me the content of the ear) and deactivate it afterwards, everything is fine.

No problems will occur, if I deploy via GF-Webadmin-tool and not by command line.

Can anybody tell me, what´s the difference between the command line and deploying with GF-Webadmin-tool?

Thanks in advance!

Best regards,
Stefan


Viewing all articles
Browse latest Browse all 1091

Trending Articles