Installing Communications Express on Application Server

Hi,

I am sorry if this problem has been addressed already (I have searched but not found anything). I am trying to install Comm Express on Solaris X (v5.10) on our Sun box but it gets stuck in the uwc-config script. All the steps run fine except one:/opt/jes/commexp/sbin/config-appsvr8x deploy

When it runs I get the following error:

/bin/mkdir -p /var/jes/appsvr/domains/domain1/config/.CommsExpress_20061113160608/

Taking config backup into directory: /var/jes/appsvr/domains/domain1/config/.CommsExpress_20061113160608/ ....

/bin/chmod 700 /var/jes/appsvr/domains/domain1/config/.CommsExpress_20061113160608/

/bin/cp -r /var/jes/appsvr/domains/domain1/config/domain.xml /var/jes/appsvr/domains/domain1/config/.CommsExpress_20061113160608/

/bin/cp -r /var/jes/appsvr/domains/domain1/config/server.policy /var/jes/appsvr/domains/domain1/config/.CommsExpress_20061113160608/

/opt/jes/appsvr/appserver/bin/asadmin deploydir --user admin --passwordfile xxxxxxx --port 390 --target server --virtualservers server --contextroot /uwc --force=true --name Communications_Express /var/opt/jes/commexp Nov 13, 2006 4:06:10 PM com.sun.appserv.management.client.ProxyFactory getInstance

SEVERE: ProxyFactory.getInstance: Failure trying to create a new ProxyFactory: java.io.IOException: Unrecognized SSL message, plaintext connection?

CLI171 Command deploydir failed : Deployment of application failed - java.io.IOException: Unrecognized SSL message,plaintext connection?; requested operation cannot be completed

ERROR: Failed deploying the application....

I cannot use the web server as the machine hosts our website through apache and it causes conflicts. Please can someone advise if this is a patching issue or a config issue, or if there is a step which I need to take prior to running the script?

Many thanks

Adam

[1915 byte] By [QuantumAA] at [2007-11-26 11:32:12]
# 1
Your error message:Unrecognized SSL message, plaintext connection?sounds like you're trying to configure your ldap access for SSL, but the connection isn't SSL that it's trying to use.
jay_plesset at 2007-7-7 3:47:58 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2
Hi,sorry, I meant to say that I have not configured anything regarding SSL (either in uwc-config or on the app server) so I do not know why this message has come up.
QuantumAA at 2007-7-7 3:47:58 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3
Since I've never attempted to use App Server for a container, I'm not exactly up on it. It can certainly be done, though.However, I don't recognize, "proxyfactory". Is this something you've installed?
jay_plesset at 2007-7-7 3:47:58 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 4

No, we've not installed it but having done some research there may be a problem with it - this appears to be the same problem but in a different context:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6296862

Is there a patch I can deploy for this or should I attempt to perform the scripts actions manually?

Thank you very much for your help.

QuantumAA at 2007-7-7 3:47:58 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 5
There should be a patch to address this. the bug states it's been fixed.
jay_plesset at 2007-7-7 3:47:58 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 6

Hi,

Like Jay I haven't used application server that much for UWC deployments but lets see how we go.

1. Is your application server admin instance running in secure mode?

2. During the UWC configuration, did you select 'no' for the following:

Is the Administration Server instance running in the secure mode [yes]?

It may then be that you are hitting the following issue:

"On Appserver Enterprise Edition 8.1, which is in JES4, the default value of --secure is true. This means that if you don't specify the --secure on an asadmin remote command, then a value of true will be assumed in anticipation of an HTTP/SSL connection to the domain admin server which runs the https listener on 4849 by default."

I *assume* this extends to the asadmin deploydir command.

Having a look at the config-appsvr8x file I saw the following:

# Add secure option id enabled

#

SECURE_OPTION=" "

if [ "true" = "${APP_SERVER_IS_SECURE_ADMIN_INSTANCE}" ]

then

SECURE_OPTION=" --secure"

fi

Perhaps if you modified this to:

# Add secure option id enabled

#

SECURE_OPTION=" "

if [ "true" = "${APP_SERVER_IS_SECURE_ADMIN_INSTANCE}" ]

then

SECURE_OPTION=" --secure=true"

else

SECURE_OPTION=" --secure=false"

fi

... and try configuring UWC again.

Regards,

Shane.

shane_hjorth at 2007-7-7 3:47:58 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 7
Thanks Shane, I shall try that and let you know what happens.(PS I tried 'yes' after it initially failed, when I entered 'no')
QuantumAA at 2007-7-7 3:47:58 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 8

OK - i've got past that, thank you very much.

However, it is failing further on now, with an HTTP 500 error when trying to go to localhost:390/webl/remotejmx

I understand this is relating with the remote management, which is on port 4848 by default, but this has been changed to port 390 (I did not configure the server initially). Where can I configure it to set it back to it's default port? Also, assuming the port number is not the issue, is this a configuration issue with the app server and what tool do I need to use to fix it?

Thanks

QuantumAA at 2007-7-7 3:47:58 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...