When you run

java -Dorg.eclipse.higgins.sts.conf=conf -jar start.jar etc/jetty.xml etc/jetty-ssl.xml

from higgins-sts folder, it uses relative path for the data file to store profile data. That eliminates the need to hard code any path in the package.

But when you deploy TokenService to Tomcat I was not sure what will the base directory to resolve the path. That's why I asked you to use absolute path to the data file.

Just curious, were you able to run it under Tomcat?

Thanks,
Jeesmon

On Mar 18, 2009, at 12:40 PM, VANESSA ALVAREZ COLINA wrote:

Hi Jeesmon,
Thanks very much for your information. Now it works!!
I’ve got another question (the last one J) :
What is the goal for the step that I show you ?
5. Change C:\higgins\conf\Configuration.xml and replace all references of data/contextfile.xml to C:/higgins/data/contextfile.xml

Regards
Vanessa


De: [email protected] [mailto:[email protected] ] En nombre de Jeesmon Jacob
Enviado el: miércoles, 18 de marzo de 2009 16:11
Para: Higgins (Trust Framework) Project developer discussions
Asunto: Re: [higgins-dev] Ready to run Higgins STS

Hi Vanessa,

There is no deployment needed to run STS included in the package. It has all components required to run stand-alone. It is not prepared to deploy under Tomcat or any other Server. Jetty server to run STS is included in the zip.

So to run STS from package:

* Download zip and unzip it
* Open terminal window and change directory to higgins-sts
* java -Dorg.eclipse.higgins.sts.conf=conf -jar start.jar etc/ jetty.xml etc/jetty-ssl.xml

I recommend you to run it as above before trying to run under Tomcat.

Once you get it working you can try the following:

1. Copy higgins-sts/webapps/TokenService to Tomcat webapps folder
2. Copy higgins-sts/conf to some other location, say C:\higgins\conf
3. Create a directory to store data, say C:\higgins\data
4. Change Tomcat startup script to include

-Dorg.eclipse.higgins.sts.conf=C:/higgins/conf

to the start command
5. Change C:\higgins\conf\Configuration.xml and replace all references of data/contextfile.xml to C:/higgins/data/contextfile.xml 6. Change C:\higgins\conf\Configuration.xml and replace all references of https://localhost:9943 to your tomcat host and port
6. Start Tomcat

I haven't tried it with Tomcat. But I think that should work. Not sure whether there will be any conflicts with jars included in TokenService webapp and Tomcat jars

Again, please run the STS from zip as stand-alone before trying to run under Tomcat.

-Jeesmon

On Mar 18, 2009, at 9:39 AM, VANESSA ALVAREZ COLINA wrote:


Hi Jeesmon,

I am trying to deploy the Higgins-sts –xml file that you show on the last mail .. but when I am trying to create a new digital profile on the STS , I’m getting the next error : Http 500 And I ‘ve got a question about the indications that you show to run the STS , where have I to fix “-Dorg.eclipse.higgins.sts.conf=conf -jar start.jar etc/jetty.xml etc/jetty-ssl.xml” .. on the Tomcat configuration ? I believe that is like this , but if I write it this way I am getting an error .
Could you help me to fix it ??
Thanks in advance
Regards
Vanessa

De: [email protected] [mailto:[email protected] ] En nombre de Jeesmon Jacob
Enviado el: lunes, 16 de marzo de 2009 21:42
Para: Higgins (Trust Framework) Project developer discussions
Asunto: [higgins-dev] Ready to run Higgins STS

If anyone is interested in trying out ready to run Higgins STS, you can download a zip with pre-configured Higgins STS components from http://graceland.parityinc.net/pub/higgins-sts/higgins-sts-xmlfile-B-1-1M5.zip

It includes pre-configured Jetty Server and configurations for storing Profile in XML File using XMLFile CP.

Only additional requirement is JDK with Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files (JDK 1.5 http://java.sun.com/javase/downloads/index_jdk5.jsp - Other Downloads section).

To Run STS:

* Download zip and unzip it
* Open terminal window and change directory to higgins-sts
* java -Dorg.eclipse.higgins.sts.conf=conf -jar start.jar etc/ jetty.xml etc/jetty-ssl.xml (Make sure you are using java from JDK with Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files)

If everything goes well you will be able to access STS at 
https://localhost:9443/TokenService

A README.TXT included in the zip with basic details.

-Jeesmon


<ATT00001.c>


_______________________________________________
higgins-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/higgins-dev

Reply via email to