This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 116692 - I18N - glassfish and web aplication run and deploy problem - Turkish
Summary: I18N - glassfish and web aplication run and deploy problem - Turkish
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords: I18N
: 123965 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-09-25 15:21 UTC by kissoid2
Modified: 2008-10-30 22:56 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
server log file (41.24 KB, text/plain)
2007-09-25 15:22 UTC, kissoid2
Details
Indication that current versions of Glassfish are unlikely to work in Turkish locale (44.99 KB, text/plain)
2007-11-10 00:10 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kissoid2 2007-09-25 15:21:40 UTC
if my computer language is USA English, everything is normal but
i cant run or deploy my web projects with glassfish if my computer language is turkish.

i get an error at netbeans output:

init:
deps-module-jar:
deps-ear-jar:
deps-jar:
Created dir: C:\Documents and Settings\AdemS_\Belgelerim\NetBeansProjects\WebApplication5\build\web\WEB-INF\classes
Created dir: C:\Documents and Settings\AdemS_\Belgelerim\NetBeansProjects\WebApplication5\build\web\META-INF
Copying 1 file to C:\Documents and Settings\AdemS_\Belgelerim\NetBeansProjects\WebApplication5\build\web\META-INF
Copying 5 files to C:\Documents and Settings\AdemS_\Belgelerim\NetBeansProjects\WebApplication5\build\web
library-inclusion-in-archive:
Copying 1 file to C:\Documents and Settings\AdemS_\Belgelerim\NetBeansProjects\WebApplication5\build\web\WEB-INF\lib
Copying 1 file to C:\Documents and Settings\AdemS_\Belgelerim\NetBeansProjects\WebApplication5\build\web\WEB-INF\lib
Copying 1 file to C:\Documents and Settings\AdemS_\Belgelerim\NetBeansProjects\WebApplication5\build\web\WEB-INF\lib
Copying 1 file to C:\Documents and Settings\AdemS_\Belgelerim\NetBeansProjects\WebApplication5\build\web\WEB-INF\lib
Copying 1 file to C:\Documents and Settings\AdemS_\Belgelerim\NetBeansProjects\WebApplication5\build\web\WEB-INF\lib
Copying 1 file to C:\Documents and Settings\AdemS_\Belgelerim\NetBeansProjects\WebApplication5\build\web\WEB-INF\lib
Copying 1 file to C:\Documents and Settings\AdemS_\Belgelerim\NetBeansProjects\WebApplication5\build\web\WEB-INF\lib
Copying 1 file to C:\Documents and Settings\AdemS_\Belgelerim\NetBeansProjects\WebApplication5\build\web\WEB-INF\lib
Copying 1 file to C:\Documents and Settings\AdemS_\Belgelerim\NetBeansProjects\WebApplication5\build\web\WEB-INF\lib
Copying 1 file to C:\Documents and Settings\AdemS_\Belgelerim\NetBeansProjects\WebApplication5\build\web\WEB-INF\lib
Copying 1 file to C:\Documents and Settings\AdemS_\Belgelerim\NetBeansProjects\WebApplication5\build\web\WEB-INF\lib
Copying 1 file to C:\Documents and Settings\AdemS_\Belgelerim\NetBeansProjects\WebApplication5\build\web\WEB-INF\lib
Copying 1 file to C:\Documents and Settings\AdemS_\Belgelerim\NetBeansProjects\WebApplication5\build\web\WEB-INF\lib
library-inclusion-in-manifest:
Compiling 4 source files to C:\Documents and Settings\AdemS_\Belgelerim\NetBeansProjects\WebApplication5\build\web\WEB-
INF\classes
Copying 1 file to C:\Documents and Settings\AdemS_\Belgelerim\NetBeansProjects\WebApplication5\build\web\WEB-INF\classes
compile:
compile-jsps:
C:\Documents and Settings\AdemS_\Belgelerim\NetBeansProjects\WebApplication5\nbproject\build-impl.xml:562: Deployment 
error:
null
See the server log for details.
BUILD FAILED (total time: 23 seconds)
Comment 1 kissoid2 2007-09-25 15:22:41 UTC
Created attachment 49469 [details]
server log file
Comment 2 Vince Kraemer 2007-11-08 18:40:24 UTC
I just found this issue.  It looks like it is related to a spat of bugs filed against GF around the same date.

See: https://glassfish.dev.java.net/issues/show_bug.cgi?id=3690,
https://glassfish.dev.java.net/issues/show_bug.cgi?id=3691, and https://glassfish.dev.java.net/issues/show_bug.cgi?id=3699.

There appears to be a host of problems that exist around the use of Turkish that are unexplored.  This is one of them. 
From the looks of the issues filed against GF, the GF code never saw fixes... so I doubt that the plugin can resolve
them for 6.0... 
Comment 3 Vince Kraemer 2007-11-09 01:51:53 UTC
what is the character encoding on the system when you run it in turkish?

Comment 4 Vince Kraemer 2007-11-09 20:15:58 UTC
actually, https://glassfish.dev.java.net/issues/show_bug.cgi?id=3699 does not apply.
Comment 5 Vince Kraemer 2007-11-09 20:35:06 UTC
info that might be useful

some urls that may be related to the issue 116692:
   http://bugs.sun.com/view_bug.do?bug_id=6341798
   http://bugs.sun.com/view_bug.do?bug_id=6208680
   http://java.sys-con.com/read/46241.htm
   http://bugs.sun.com/view_bug.do?bug_id=6285594

Hopefully you will locate the machine you seek soon,
karthik

Comment 6 Jesse Glick 2007-11-09 23:59:27 UTC
In a nutshell: treat the no-arg variants of String.to{Lower,Upper}Case as dangerous and deprecated. I have long wished
the JDK team would actually mark them @Deprecated, but I don't know how long it will take to convince them of this.
Comment 7 Jesse Glick 2007-11-10 00:10:46 UTC
Created attachment 52827 [details]
Indication that current versions of Glassfish are unlikely to work in Turkish locale
Comment 8 Vince Kraemer 2007-11-10 01:19:05 UTC
Thanks Jesse.  I have forwarded the link to the attachment to one of the issues that seems to be related to Turkish at
glassfish.dev.java.net...
Comment 9 kissoid2 2007-11-28 12:44:44 UTC
i understand you. thanks you for all your interests.
i think that netbeans and glassfish is not enough to develop professional applications for turkish developers.
we will continue to develop our java applications in eclipse and jboss.

easy work
Comment 10 Vince Kraemer 2007-12-17 17:51:26 UTC
*** Issue 123965 has been marked as a duplicate of this issue. ***
Comment 11 Vince Kraemer 2008-02-13 18:36:36 UTC
investigate deferral strategy
Comment 12 Vince Kraemer 2008-02-14 18:21:30 UTC
The root cause of this issue is in the server code.  It is related to poor coding practices with toUpperCase and
toLowerCase use while processing server side data...  the plugin cannot correct/work-around the issue.
Comment 13 Vince Kraemer 2008-02-14 19:25:51 UTC
started formal escalation process for root cause issues in GF codebase.
Comment 14 Vince Kraemer 2008-02-20 16:16:45 UTC
past the 48 hour mark
Comment 15 Vince Kraemer 2008-07-24 06:53:53 UTC
I am not seeing progress on the server issue. Investigating whether it is possible to start the server in en_US if the
IDE is running in tr_TR...

Comment 16 Vince Kraemer 2008-07-27 05:19:29 UTC
ıt looks lıke thıs ıs not a problem for GF V3

v2 ur 2 stıll has ıssues wıth tr_TR, based on a test I just did today.
Comment 17 Vince Kraemer 2008-08-13 23:28:25 UTC
sleazy hack : http://hg.netbeans.org/main/rev/8112ba0951ea
Comment 18 Ken Frank 2008-08-25 16:18:16 UTC
just checking if this will be resolved for 6.5 or are the dependencies
on gf fixing still there ?

(or is the hack mentioned in 6.5 already something that can solve it for now ?)

ken.frank@sun.com
Comment 19 Vince Kraemer 2008-08-25 17:18:15 UTC
it looks like there really are issues with V3 in Turkish... I can implement the hack in that plugin.

The real fix has to occur in the GF repository and spans a fairly wide swath of the codebase.  It probably isn't safe
for folks on the plugin team to do that sweep.

Once the hack is implemented in the V3 plugin, this is going to get lowered to P4... but will remain open.
Comment 20 Vince Kraemer 2008-08-27 21:53:10 UTC
filed https://glassfish.dev.java.net/issues/show_bug.cgi?id=5698 to track tr_TR issues with v3
Comment 21 Vince Kraemer 2008-08-27 23:00:19 UTC
applied hack to v3 code.  http://hg.netbeans.org/main/rev/c3bfaeefee08

lowering this issue to p4.

we need to remove these hacks when the server bits have been fixed.
Comment 22 Quality Engineering 2008-08-28 06:35:31 UTC
Integrated into 'main-golden', available in build *200808280201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/c3bfaeefee08
User: Vince Kraemer <vkraemer@netbeans.org>
Log: #116692 : start server in en_US if the current locale is tr_TR... the server bits have issues when they are run in that locale.
Comment 23 Vince Kraemer 2008-10-30 22:56:21 UTC
added reminder to revisit this when https://glassfish.dev.java.net/issues/show_bug.cgi?id=3851 is closed... so I am
closing this issue for now.