[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-developers] Interbase-JSP-Ultradev
- Subject: RE: [cobalt-developers] Interbase-JSP-Ultradev
- From: "Alexander Povargo" <alpo@xxxxxxxxxxxxxxxxxx>
- Date: Mon Aug 27 05:47:06 2001
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
Hi Bruce,
try to use jdbc:interclient://localhost/home/sites/home/test.gdb
And I have next in policy.tomcat:
codeBase "file:/home/sites/home/web/-" {
permission java.net.SocketPermission "localhost:25-",
"accept,listen,connect,resolve";
........
I use here port 25 because I use JavaMail API also, default 1024 is enough
for Interbase.
Please note: if you still use Cobalt's Tomcat configuration scripts you need
correct it
in /usr/java/jakarta-tomcat/bin/cobalt_config.pl because tomcat.policy will
be rewrite
on each Tomcat restart.
Or use my recommended method: detach cobalt_config.pl and configure Tomcat
manually, because Cobalt's scripts has many security holes.
It is working to me and I think it must solve your problem.
Best regards,
Alex
> -----Original Message-----
> From: cobalt-developers-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx]On Behalf Of
> Bruce Letterle
> Sent: Tuesday, August 28, 2001 12:35 AM
> To: cobalt-developers@xxxxxxxxxxxxxxx
> Subject: [cobalt-developers] Interbase-JSP-Ultradev
>
>
> I am attempting to use Interbase and JSP via Dreamweaver Ultradev
> on a RAQ4
> with the JDK loaded and the Interbase driver that installs by default with
> the JDK. I setup Interbase using the instructions in the JDK manual and am
> using the interbase.interclient.Driver driver name and the
> jdbc:interbase://www.creativewebtech.com/home/sites/home/test.gdb
> URL. I am
> getting the following error when attempting a connection from
> Ultradev on my
> PC to my remote test database:
>
> [interclient] Your security manager does not allow socket connections to
> www.creativewebtech.com on interserver port.
> The message of the SecurityException is 'access
> denied[java.net.SocketPermission www.creativewebtech.com resolve]'
> See API reference for exception
> interbase.interclient.BadInstallationException
>
> I cannot seem to make sense of the User Manual API section and was hoping
> someone would recognize the error and be able to point me in the right
> direction.
>
> Bruce Letterle
> Creative Web Technologies
> eBusiness Web Services
> 412-415-5217
> brucelet@xxxxxxxxxxxxxxxxxxx
> http://www.creativewebtech.com
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
>
>