OS X Server install issues

Please post technical support issues on this forum. You can also post questions about how to use ProjectCards.

OS X Server install issues

Postby david mantripp » Thu Mar 29, 2007 10:08 am

Hi -

I have been trying for some hours to set up ProjectCards on Mac OS X Server and Mac OS X Client.

I have installed the server files as in the instructions for Linux, and deployment seems to be ok. If I query the server from a web browser I get this:

Image

However, when I try to open a new projecct in Eclipse, I get the following error:

Image


Since it is not clear to me what I am actually expecting to see on the server side - as far as I can tell I have a correctly deployed service - I'm a bit stuck. I've tried various variations, including a complete "start again from scratch", to no avail.

I'd appreciate any tips or advice you can give. If all else fails I guess I could run the server under Windows, but I don't really have the resources to do that. I've been evaluating Scrumworks, and ProjectCards looks as if it would be better - but if I can't try it, I can't tell!

Best wishes

David Mantripp
david mantripp
 
Posts: 2
Joined: Thu Mar 29, 2007 10:01 am

OS X Server install issue

Postby jeanft » Thu Mar 29, 2007 1:25 pm

Hi David,

The port using by the server must be free. It seems that 8080 is a common one. Install ProjectCards Server choosing another port like 51612 should help. You could follow steps of point #3 on this post.

Another point could be Tomcat version you are using. As you can see on the Linux page, we support Tomcat version 4.1.x. Which version of Tomcat are you using?

Let me know if one of this point fixed the issue or contact us again and we will work with you to find the solution.
Jeff Theriault
ProjectCards Team
jeanft@projectcards.com
jeanft
 
Posts: 46
Joined: Sat Dec 10, 2005 5:04 pm

Postby david mantripp » Thu Mar 29, 2007 3:15 pm

Hi Jeff,

Looking at my logs, this actually seems to be the problem - well, the first, anyway:

2007-03-29 10:49:20,448 ERROR [STDERR] Mar 29, 2007 10:49:20 AM com.sun.xml.rpc.server.StreamingHandler handle
SEVERE: JAXRPC.TIE.01: caught exception while handling request: java.rmi.RemoteException: Server problem prevents authentication. Please check server logs for details.; nested exception is:
java.lang.Exception: WARNING! Unable to determine data path on the server.
Please check the definition of the ProjectCards context (defined by default in ProjectCards.xml) for the "ProjectCardsDataPath" environment entry.

For example:
<Context>
...
<Environment>
...
</Context>


I have the file projectcards.xml in the deploy folder along with projectcards.war - it is being picked up by JBoss which is deploying the app, so....

The contents of the file are:

<Context>

<Logger>

<Environment>
</Context>

Tomcat is v4.1.29 - for the port, surely 8080 is being used by the AppServer, which is then responsible for delivering the requested application ? The fact that http://192.168.1.48:8080/projectcards/ProjectProvider returns a page would tend to indicate this....

Anyway, I have the Windows version running, so for the purposes of evaluation that is fine. Long term, I would very much prefer to run under OS X though.

David
david mantripp
 
Posts: 2
Joined: Thu Mar 29, 2007 10:01 am

Postby BenoitOuellet » Sat Apr 07, 2007 3:25 pm

Hello David,

I believe the solution to your problem lies in the projectcards.xml context file. You will need to set-up the path for the ProjectCards data files:

<Environment description="Path to the ProjectCards project data" name="ProjectCardsDataPath" override="true" type="java.lang.String" value="/data/projectcards" />

By default, ProjectCards is trying to save all data in /data/projectcards. You should change this to the actual path where you want your project files to be saved. Make sure that the userid used to run your JBoss service can browse to this directory and has +rw access to it. Once you get everything set-up, restart your web application server.

Hope this helps! I will wait for your feedback.

Benoit Ouellet

PS: I found out that if we want to put XML in an append in this forum, the best way is to select the "Disable HTML in this post." ;-)
BenoitOuellet
 
Posts: 51
Joined: Thu Oct 14, 2004 1:20 am

Postby jdtangney » Tue Apr 24, 2007 9:51 pm

BenoitOuellet wrote:Hope this helps! I will wait for your feedback.


I am seeing precisely the same symptoms. My tomcat (and hence the projectcards service) is running on port 8080 and I created /data/projectcards with world-writable permissions.

Any ideas?
--johnt
jdtangney
 

Postby BenoitOuellet » Wed Apr 25, 2007 12:45 am

Hello John,

Can you please send your Tomcat zipped log files (contents of {tomcat}/logs) and configuration files (contents of {tomcat}/conf) to support(at)projectcards.com?

That would be the best way for us to understand what is happening.

Thanks!

Benoit Ouellet, CTO
ProjeNova
BenoitOuellet
 
Posts: 51
Joined: Thu Oct 14, 2004 1:20 am

Success!

Postby jdtangney » Wed Apr 25, 2007 5:43 am

Here's what I did to get it all working.

+ Install the latest tomcat (6.0.10)
+ Download and install JavaMail and JAF from Sun, and copied mail.jar and activation.jar into ${TOMCAT_HOME}/lib (there is no "common" in tomcat any more.)
+ Download Xerces and copy xercesImpl.jar and xml-apis.jar into ${TOMCAT_HOME}/lib
+ Copy projectcards.war into ${TOMCAT_HOME}/webapps
+ Copy projectcards.xml into ${TOMCAT_HOME}/conf/Catalina/localhost

It was the last step that had me most confused since I haven't worked with Tomcat in a while. The context files go in conf, NOT next to the war file!

When editing projectcards.xml, I had it point to /data which is not very Mac-ish, but good enough. Since I run my tomcat without any setuid (i.e. I run it as me) I thought I was done with permissions, but I saw weird exceptions in the log so I did
chmod a+rw data
and all was well.

Next step is to get the standalone client going...
jdtangney
 

Postby BenoitOuellet » Thu Apr 26, 2007 6:38 pm

Thanks for the info, JD.

Getting ProjectCards to work on more "modern" Tomcat installations is definitely something we need to do.

We will have to look into the new Tomcat configurations to make sure that we have a clean installation procedure.

Cheers!

Benoit Ouellet, CTO
ProjectCards
BenoitOuellet
 
Posts: 51
Joined: Thu Oct 14, 2004 1:20 am


Return to Support and Questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron