At last my generation of the server certificate worked.
Unfortunately, when I start Orion with SSL turned on, the java process takes
all the CPU time.
Seems like Orion gets stuck in an endless loop.
I have tried this on both Orion 1.0 and 1.1.4
I followed the instruction for setting up a secure site in the
dokumentation.
Has anybody experienced something similar?
/Mattias Arbin

Here is my server.xml:
<?xml version="1.0"?>
<!DOCTYPE application-server PUBLIC "Orion Application Server Config"
"http://www.orionserver.com/dtds/application-server.dtd">

<application-server
 application-directory="../applications"
 deployment-directory="../application-deployments">
 <rmi-config path="./rmi.xml" />
 <!-- JMS-server config link, uncomment to activate the JMS service -->
 <!-- <jms-config path="./jms.xml" /> -->
 <principals path="./principals.xml" />
 <log>
  <file path="../log/server.log" />
 </log>

 <global-application name="default" path="application.xml" />

 <global-web-app-config path="global-web-application.xml" />
 <!-- I have tried with or without the comment below -->
 <!-- <web-site path="./default-web-site.xml" /> -->
 <web-site path="./secure-web-site.xml" />

 <!-- Compiler, activate this to specify an alternative compiler such
  as jikes for EJB/JSP compiling. -->
 <!-- <compiler executable="jikes" classpath="/myjdkdir/jre/lib/rt.jar"
/> -->
 </application-server>


..and here is the secure-web-site.xml
<?xml version="1.0"?>
<!DOCTYPE web-site PUBLIC "Orion Web-site"
"http://www.orionserver.com/dtds/web-site.dtd">

<web-site host="[ALL]" secure="true" port="81" display-name="Default Orion
WebSite">
 <!-- The default web-app for this site, bound to the root -->
 <ssl-config keystore="../../../test/mykeystore" keystore-password="123456"
/>
 <default-web-app application="default" name="defaultWebApp" />

 <!-- Uncomment this to activate the news app -->
 <!-- <web-app application="news" name="news-web" root="/news" /> -->
 <!-- Access Log, where requests are logged to -->
 <access-log path="../log/default-web-access.log" />
</web-site>




Reply via email to