[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: user: nobody from JSP



On Thu, 18 May 2000, Steve Evans wrote:
> Hi,
> 
> I am calling the Ozone DB from a JSP page; GNUJSP & ApacheJServ on Apache 
> web server on Linux. Trouble is I am denied access because I am user 
> "nobody". How can I get around this?
> 
> The trace is below.
> 
> Thanks,
> Steve Evans
> Asiamix.com
> 
> 
> [Thu May 18 20:19:40 2000] [notice] Apache/1.3.12 (Unix) ApacheJServ/1.1 
> configured -- resuming normal operations
> GNUJSP: Detected JSDK version 2.0
> org.ozoneDB.PermissionDeniedExc: No such user: nobody.
> 	at org.ozoneDB.ExternalDatabase.sendCommand(ExternalDatabase.java:324)
> 	at org.ozoneDB.RemoteDatabase.newConnection(RemoteDatabase.java:79)
> 	at org.ozoneDB.ExternalDatabase.connectionForThread(ExternalDatabase.java:269)
> 	at org.ozoneDB.RemoteDatabase.open(RemoteDatabase.java:70)
> 	at org.ozoneDB.RemoteDatabase.open(RemoteDatabase.java:50)

When opening your RemoteDatabase you can specify user and passwd (passwd is
currently unused). So instead of calling

	db.open ("localhost", 3333);

you should

	db.open ("localhost", 3333, "no-nobody", "xxx");

And, you should create the "no-nobody" user, of course.


Falko
-- 
______________________________________________________________________
Falko Braeutigam                         mailto:falko@softwarebuero.de
softwarebuero m&b (SMB)                    http://www.softwarebuero.de