Hi, Thanks for all your help. We resolved the problem. Turns out we needed to add a filter for the new server to access the mail server.
Thanks again, Mersida --- On Tue, 1/6/09, Pascal Robert <prob...@macti.ca> wrote: From: Pascal Robert <prob...@macti.ca> Subject: Re: Why is this happening? To: "Mersida Kurti" <muc...@yahoo.com> Cc: "WebObjects Development" <webobjects-dev@lists.apple.com> Date: Tuesday, January 6, 2009, 3:48 PM In that case, it should not be a problem to talk to CGP... Are you sure the PWD service is running on port 1111 on the CGP server? This can be view by going to CGP'S admin interface -> Settings -> Services -> PWD -> Listener. The default is 106, but if you running CGP on a Tiger Server machine, port 106 is also used by OS X Server, so most people change this port to something else. And host.domain.com is on your connection parameters is really the CGP server? > no, we have a machine where the java application that includes the > cgprocli.jar. this is a leopard server. and then we have a mail server where > CommuniGate Pro software is installed. this is a tiger machine. That's where > I finally found where the logs levels can be changed, but I'm all new to this. > Thank you so much for your help. > Mersida > > --- On Tue, 1/6/09, Pascal Robert <prob...@macti.ca> wrote: > > From: Pascal Robert <prob...@macti.ca> > Subject: Re: Why is this happening? > To: "Mersida Kurti" <muc...@yahoo.com> > Cc: "WebObjects Dev Apple" <webobjects-dev@lists.apple.com> > Date: Tuesday, January 6, 2009, 2:31 PM > > So you have a CGP server in front on another CGP server?? > > > Ok, so I think I've figured out what the problem is NOT. It does not seem > > to be the code, but rather then set up in CommuniGate Pro. The glitch is > > that we have added another server to talk to cgp. My question is: Does > > this server needs to be added somewhere in the interface in CGP, so that it > > recognizes the server that it is trying to talk to? > > > > Thanks, > > Mersida > > > > --- On Tue, 12/23/08, Pascal Robert <prob...@macti.ca> wrote: > > > > From: Pascal Robert <prob...@macti.ca> > > Subject: Re: Why is this happening? > > To: "Mersida Kurti" <muc...@yahoo.com> > > Cc: "WebObjects Dev Apple" <webobjects-dev@lists.apple.com> > > Date: Tuesday, December 23, 2008, 10:37 AM > > > > To change the log level, go to the CGP admin interface > > (http://host.domain.com:8010) -> Settings -> Services -> PWD. > > > > > This is what is in line 161: > > > > > > if(secureLogin && prompt.indexOf('<') >1 ) > > > > > > Why would this be causing issues? I have updated to the latest version > > > of CGPro. > > > > > > Also, I can't find where you turn the logs on for CGP to all info...where > > > is this PWD service? Maybe I'm missing something here... > > > > > > Thanks, > > > Mersida > > > > > > --- On Mon, 12/22/08, Lachlan Deck <lachlan.d...@gmail.com> wrote: > > > > > > From: Lachlan Deck <lachlan.d...@gmail.com> > > > Subject: Re: Why is this happening? > > > To: "Mersida Kurti" <muc...@yahoo.com> > > > Cc: "WebObjects Dev Apple" <webobjects-dev@lists.apple.com> > > > Date: Monday, December 22, 2008, 3:32 PM > > > > > > On 23/12/2008, at 7:03 AM, Mersida Kurti wrote: > > > > > > > So we have this java code, which we extend from the CGProCLI. The code > > > > was written in Java 1.4.2 and lately we switched it to Java 1.5 and the > > > > new webobjects. The code works fine in 1.4.2. It builds and runs fine > > > > until a certain point with Java 1.5 and new webobjects, and I cannot > > > > figure out why it is giving me a null pointer exception. Here's what > > > > I'm looking at: > > > > > > > > <...> > > > > public class OISCLI extends CGProCLI { > > > > > > > > <...> > > > > public OISCLI() throws CGProException { > > > > super("host.domain.com", > > > > 1111, > > > > "postmas...@domain.com", > > > > "password"); > > > > > > > > port = Constants.port_mail_server; > > > > adminUserid = Constants.USER_POSTMASTER + domain(); > > > > password = (String)Application.password(); > > > > serverAddress = Constants.SERVER_MAIL; > > > > > > > > .....cont > > > > } > > > > > > > > Here's the error message stack: > > > > I don't get it why it is nulling it out when I'm specifically telling > > > > it what the password is...Any chance that this CGProCLI does not work > > > > with the new webobjects...Anyone seen this before? > > > > > > > > Thank you in advance! > > > > Mersida > > > > > > > > 2008-12-22 14:57:10 EST] <main> Waiting for requests... > > > > [2008-12-22 14:57:33 EST] <WorkerThread6> java.lang.NullPointerException > > > > at com.stalker.CGPro.CGProCLI.connect(CGProCLI.java:161) > > > > at com.stalker.CGPro.CGProCLI.<init>(CGProCLI.java:65) > > > > at blah.blah.common.OISCLI.<init>(OISCLI.java:20) > > > > > > The question is what is CGProCLI.java:161 doing? > > > If it's calling some method called password() which you've not set yet > > > then that'll be your problem. > > > > > > with regards, > > > -- > > > > > > Lachlan Deck > > > > > > > > > _______________________________________________ > > > Do not post admin requests to the list. They will be ignored. > > > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > > > Help/Unsubscribe/Update your Subscription: > > > http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca > > > > > > This email sent to prob...@macti.ca > > > > > > ------------------------------------------------------- > > Pascal Robert > > > > http://www.macti.ca > > http://www.aircourriel.com > > http://www.linkedin.com/in/macti > > > > Skype: MacTICanada > > AIM/iChat : MacTICanada > > > > > > > ------------------------------------------------------- > Pascal Robert > > http://www.macti.ca > http://www.aircourriel.com > http://www.linkedin.com/in/macti > > Skype: MacTICanada > AIM/iChat : MacTICanada > > ------------------------------------------------------- Pascal Robert http://www.macti.ca http://www.aircourriel.com http://www.linkedin.com/in/macti Skype: MacTICanada AIM/iChat : MacTICanada
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com