Re: Connector/J 5.1, Euro Symbol as '?'
Re: Connector/J 5.1, Euro Symbol as '?'
- Subject: Re: Connector/J 5.1, Euro Symbol as '?'
- From: Pascal Robert <email@hidden>
- Date: Thu, 24 Sep 2009 13:15:19 -0400
You can also set UTF-8 as the general encoding for all workspaces by
adding this line in eclipse.ini :
-Dfile.encoding=UTF-8
so something else must have changed. you're in eclipse, right ? check
your workspace encoding (prefs > general > workspace). if you're on a
mac it normally defaults to system default of macroman. i'd change
that to "other > UTF-8". eclipse will then whirr away for a while
whilst it changes everything. then all your files and stuff will be
utf8 to at least you'll have eliminated another potential encoding
pitfall. we've seen some strangeness with this and the good old uk
pound symbol...
i take it you've also not done anything funky in my.cnf ? like
changing the default char set ? if you're using mysql gui tools then
you can check under options > advanced > localization
simon
2009/9/24 David Griffith <email@hidden>:
Just another note which might give more info:
On the euro symbol issue, there is only one place where the euro
symbol is
coming from the database. The rest of the time it's actually
written in the
HTML directly. It has been displaying perfectly up to yesterday
when I
decided to change the adaptor to the new version. Now it displays
as '?'.
Even when I changed back to the old adaptor it did not seem to
make any
difference. Anyone any idea why that could be?
Regards,
David.
On 24 Sep 2009, at 13:05, David Griffith wrote:
Thanks Kieran,
I might have to take you up on that. I've been thinking that it
must be
something to do with too many records been read in but I can't see
where
that could be happening.
I'll try adding the encoding string to the EOModel connection and
see if
that helps. I've just tried changing back to the old adaptor but
doesn't
seem to have helped either.
Regards,
David.
On 24 Sep 2009, at 12:46, Kieran Kelleher wrote:
Hi again David,
Regarding App Oout of memory:
App out of memory commonly is caused in WO apps by reading in too
many
EOs (display group or possibly a huge faulted relationship) or
too many
concurrent sessions and needs profiling or at least strategic
logging to see
what is happening in production. If the problem can be simulated in
development environment, it will be easier to resolve. Wonder has
some
features that allow free memory tracking, memory reserve,
temporary refusing
sessions in low-memory conditions and forced garbage collection.
To give you breathing room to troubleshoot you should have maxed
out
memory per instance. I think 1536 is the max for 32-bit system,
so WOMonitor
args should be sth like this:
-Xms1024m -Xmx1536m
I am very tight on time myself, but if no one offers to get their
hands
on to track this down in the next 24 hours, I might be able to
help tomorrow
(Friday) .... let me know if that is the case.
Regards, Kieran
On Sep 24, 2009, at 4:36 AM, David Griffith wrote:
Hi all,
I've been having a real problem over the past 12 months with my
WebObjects and mySQL installation. It has been getting
gradually worse to
the point now where the apps crash every 10 or 15 mins. The are
crashing
out with Java.OutOfHeapSpace errors. We've tried everything to
increase the
heap space but has made no difference. The fact that it is has
gradually
gotten worse over time indicates to me that as the database is
growing the
problem is getting worse.
I tried last night to update the Connecter/J adaptor to version
5.1 as
we were using an older one and I thought that might help. It
hasn't in
fact, and what it has done is make all the € symbols appear as
'?'. I know
this has to do with the encoding and I want it all to be UTF8
but I can't
seem to work out how the hell to get them to display properly.
They all
displayed perfectly before I changed the adaptor.
On the other hand, I really need to find a solution to this
problem
where the apps are crashing and I am very tight for time. I am
prepared to
pay someone to track down this problem for me. Any takers?
Kind regards,
David. _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden