Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 2002 14:12:14 +0200 (CEST)
From:      Marc van Woerkom <marc.vanwoerkom@science-factory.com>
To:        jps@funeralexchange.com
Cc:        marc.vanwoerkom@science-factory.com, billh@gnuppy.monkey.org, marc.vanwoerkom@science-factory.com, freebsd-java@freebsd.org
Subject:   Re: JDK 1.4
Message-ID:  <20020424121214.6B7D92A8882@pcserver.science-factory.com>
In-Reply-To: <000001c1eb3e$6efb57b0$9864fea9@puckyou> (jps@funeralexchange.com)
References:  <20020423234741.3156A2A2A39@pcserver.science-factory.com> <20020424003839.GA1320@gnuppy.monkey.org> <20020424020917.0EE322A6594@pcserver.science-factory.com> <000001c1eb3e$6efb57b0$9864fea9@puckyou>

next in thread | previous in thread | raw e-mail | index | archive | help
> I am using Linux j2sdk 1.4 with FreeBSD 4.5-stable in a production
> environment along with

I use a -stable from yesterday, running on a 2xP4-2.2GHz SMP
system.
 
> apache+mod_ssl-1.3.24+2.8.8
> ant 1.4.1
> Jakarta-tomcat-4.0.3
> Linux_base-6.1_1
> FreeBSD Built Webapps. mod_webapp.so
> 
> So far I have not really had any problems and the performance is ALOT nicer
> then Tomcat 3.2.3. Note I did NOT use any ports I simply installed the
> Linux_base6* and then installed the binary versions of the above programs
> and set the necessary paths in my .cshrc.

The version of the Linux_base seems to play a role.
This happens with linux_base-7.1:

  bash-2.05a# /usr/local/linux-jdk1.4.0/jre/bin/java -jar /usr/local/linux-jdk1.4.0/demo/jfc/Java2D/Java2Demo.jar 

  current locale is not supported in X11, locale is set to CX locale modifiers are not supported, using default24.04.2002 13:36:52 java.util.prefs.FileSystemPreferences$2 run
  INFO: Recreated system preferences directory in /etc/.java/.systemPrefs
  Exception in thread "main" java.lang.InternalError: Current locale is not supported
	  at sun.awt.motif.MWindowPeer.pSetTitle(Native Method)
	  at sun.awt.motif.MWindowPeer.init(MWindowPeer.java:98)
	  at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:58)
	  at sun.awt.motif.MToolkit.createFrame(MToolkit.java:192)
	  at java.awt.Frame.addNotify(Frame.java:469)
	  at java.awt.Window.show(Window.java:433)
	  at java.awt.Component.show(Component.java:1128)
	  at java.awt.Component.setVisible(Component.java:1083)
	  at java2d.Java2Demo.main(Java2Demo.java:444)
  bash-2.05a# 

With linux-base-6.1_1 I get different errors for each call. 
Looks like some threads problem.

Your apps seem to use no Swing, but still might use Java threads.

And of course, it might be an SMP issue.

Regards,
Marc

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020424121214.6B7D92A8882>