Translation help 1

View: New views
9 Messages — Rating Filter:   Alert me  

Translation help 1

by Santiago Dejo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, I've translated the oscarResources_en.properties and created a
oscarResources_es_AR.properties txt file. I am testing with Firefox
3.0.14 on Ubuntu (installation with english as base language) and
Firefox 3.5 on XP (on spanish). On both I've added es-ar language on
Firefox Preferences.

I have 2 errors on both environments
1-When I'm using OSCAR on spanish I cannot acces the encounter screen
(so far, I can access other screens, Admin, etc.) I get
An unexpected system error occurred.
Please contact support with the date and time of this error.

If I change to english or french language everything runs OK.

2-I get wrong characters, instead of ñ It displays ñ, and instead of
í Ã, of ú ú...

Am I missing something?

Santiago

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Oscarmcmaster-devel mailing list
Oscarmcmaster-devel@...
https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel

Re: Translation help 1

by Randy Jonasz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Santiago,

1) Could you copy the error in catalina.out for us to see?  I'm thinking there might be a missing key, but can't tell without the log.
2) I'm not sure but are the characters included in utf-8?

Cheers,

Randy

On Tue, Oct 27, 2009 at 2:26 PM, Santiago Dejo <santiago.dejo@...> wrote:
Hi, I've translated the oscarResources_en.properties and created a
oscarResources_es_AR.properties txt file. I am testing with Firefox
3.0.14 on Ubuntu (installation with english as base language) and
Firefox 3.5 on XP (on spanish). On both I've added es-ar language on
Firefox Preferences.

I have 2 errors on both environments
1-When I'm using OSCAR on spanish I cannot acces the encounter screen
(so far, I can access other screens, Admin, etc.) I get
An unexpected system error occurred.
Please contact support with the date and time of this error.

If I change to english or french language everything runs OK.

2-I get wrong characters, instead of ñ It displays ñ, and instead of
í Ã, of ú ú...

Am I missing something?

Santiago

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Oscarmcmaster-devel mailing list
Oscarmcmaster-devel@...
https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel



--
Oscar Developer
McMaster University
175 Longwood Road South, Suite 201A
Hamilton ON  L8P 0A1
905 525 9140 x27735

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Oscarmcmaster-devel mailing list
Oscarmcmaster-devel@...
https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel

Re: Translation help 1

by Santiago Dejo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Randy

1) Could you copy the error in catalina.out for us to see?  I'm thinking there might be a missing key, but can't tell without the log.

1.Here is a copy of the catalina log:

Oct 30, 2009 12:14:48 AM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8180
Oct 30, 2009 12:14:48 AM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8443
Oct 30, 2009 12:14:48 AM org.apache.catalina.connector.Connector pause
SEVERE: Protocol handler pause failed
java.lang.NullPointerException
    at org.apache.jk.server.JkMain.pause(JkMain.java:679)
    at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:163)
    at org.apache.catalina.connector.Connector.pause(Connector.java:1032)
    at org.apache.catalina.core.StandardService.stop(StandardService.java:489)
    at org.apache.catalina.core.StandardServer.stop(StandardServer.java:734)
    at org.apache.catalina.startup.Catalina.stop(Catalina.java:602)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.stop(Bootstrap.java:307)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.commons.daemon.support.DaemonLoader.stop(DaemonLoader.java:200)
Oct 30, 2009 12:14:49 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Oct 30, 2009 12:14:53 AM org.apache.coyote.http11.Http11BaseProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8180
Oct 30, 2009 12:14:53 AM org.apache.catalina.connector.MapperListener destroy
WARNING: Error unregistering MBeanServerDelegate
java.lang.NullPointerException
    at org.apache.catalina.connector.MapperListener.destroy(MapperListener.java:162)
    at org.apache.catalina.connector.Connector.stop(Connector.java:1138)
    at org.apache.catalina.core.StandardService.stop(StandardService.java:519)
    at org.apache.catalina.core.StandardServer.stop(StandardServer.java:734)
    at org.apache.catalina.startup.Catalina.stop(Catalina.java:602)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.stop(Bootstrap.java:307)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.commons.daemon.support.DaemonLoader.stop(DaemonLoader.java:200)
Oct 30, 2009 12:14:53 AM org.apache.coyote.http11.Http11BaseProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8443
Oct 30, 2009 12:14:53 AM org.apache.catalina.connector.Connector stop
SEVERE: Coyote connector has not been started
Oct 30, 2009 12:14:53 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Failed shutdown of Apache Portable Runtime
Oct 30, 2009 12:15:05 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/i386:/lib:/usr/lib
Oct 30, 2009 12:15:05 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8180
Oct 30, 2009 12:15:05 AM org.apache.coyote.http11.Http11BaseProtocol init
SEVERE: Error initializing endpoint
java.io.FileNotFoundException: /root/.keystore (Permission denied)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(JSSESocketFactory.java:284)
    at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeystore(JSSESocketFactory.java:227)
    at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.getKeyManagers(JSSE14SocketFactory.java:142)
    at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.init(JSSE14SocketFactory.java:110)
    at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:89)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:293)
    at org.apache.coyote.http11.Http11BaseProtocol.init(Http11BaseProtocol.java:139)
    at org.apache.catalina.connector.Connector.initialize(Connector.java:1017)
    at org.apache.catalina.core.StandardService.initialize(StandardService.java:578)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:782)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:267)
    at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:282)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:160)
Oct 30, 2009 12:15:05 AM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException:  Protocol handler initialization failed: java.io.FileNotFoundException: /root/.keystore (Permission denied)
    at org.apache.catalina.connector.Connector.initialize(Connector.java:1019)
    at org.apache.catalina.core.StandardService.initialize(StandardService.java:578)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:782)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:267)
    at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:282)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:160)
Oct 30, 2009 12:15:05 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1853 ms
Oct 30, 2009 12:15:05 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Oct 30, 2009 12:15:05 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5
Oct 30, 2009 12:15:05 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Oct 30, 2009 12:15:07 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive oscar.war
Oct 30, 2009 12:15:40 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive OscarDocument.war
Oct 30, 2009 12:15:41 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8180
Oct 30, 2009 12:15:41 AM org.apache.coyote.http11.Http11BaseProtocol start
SEVERE: Error starting endpoint
java.io.FileNotFoundException: /root/.keystore (Permission denied)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(JSSESocketFactory.java:284)
    at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeystore(JSSESocketFactory.java:227)
    at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.getKeyManagers(JSSE14SocketFactory.java:142)
    at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.init(JSSE14SocketFactory.java:110)
    at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:89)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:293)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:313)
    at org.apache.coyote.http11.Http11BaseProtocol.start(Http11BaseProtocol.java:151)
    at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:76)
    at org.apache.catalina.connector.Connector.start(Connector.java:1090)
    at org.apache.catalina.core.StandardService.start(StandardService.java:457)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)
Oct 30, 2009 12:15:41 AM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start:
LifecycleException:  service.getName(): "Catalina";  Protocol handler start failed: java.io.FileNotFoundException: /root/.keystore (Permission denied)
    at org.apache.catalina.connector.Connector.start(Connector.java:1097)
    at org.apache.catalina.core.StandardService.start(StandardService.java:457)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)
Oct 30, 2009 12:15:41 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 35608 ms


  2) I'm not sure but are the characters included in utf-8?
 Yes they are included.

I also tried to save the translated txt as oscarResources_en.properties and got the same error.....no encounter screen....weird...

Santiago


Cheers,

Randy

On Tue, Oct 27, 2009 at 2:26 PM, Santiago Dejo <santiago.dejo@...> wrote:
Hi, I've translated the oscarResources_en.properties and created a
oscarResources_es_AR.properties txt file. I am testing with Firefox
3.0.14 on Ubuntu (installation with english as base language) and
Firefox 3.5 on XP (on spanish). On both I've added es-ar language on
Firefox Preferences.

I have 2 errors on both environments
1-When I'm using OSCAR on spanish I cannot acces the encounter screen
(so far, I can access other screens, Admin, etc.) I get
An unexpected system error occurred.
Please contact support with the date and time of this error.

If I change to english or french language everything runs OK.

2-I get wrong characters, instead of ñ It displays ñ, and instead of
í Ã, of ú ú...

Am I missing something?

Santiago

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Oscarmcmaster-devel mailing list
Oscarmcmaster-devel@...
https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel



--
Oscar Developer
McMaster University
175 Longwood Road South, Suite 201A
Hamilton ON  L8P 0A1
905 525 9140 x27735

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Oscarmcmaster-devel mailing list
Oscarmcmaster-devel@...
https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Oscarmcmaster-devel mailing list
Oscarmcmaster-devel@...
https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel

Re: Translation help 1

by Randy Jonasz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Santiago,

1) I noticed that when you start tomcat, you are getting "FileNotFoundException: /root/.keystore (Permission denied)" errors.  Did you create a ssl certificate in .keystore?  If so, who owns them and what are the permissions of the file?  Is the owner the same as the user tomcat runs as?

Also could you execute "tail -f catalina.out" just before you attempt to access the eChart.  If an error is printed could you copy it here?

2) I'm not sure what to say about the characters.  What pages do these symbols appear on?  I wonder if the character encoding has been set to utf-8 on them.

Cheers,

Randy

On Thu, Oct 29, 2009 at 11:34 PM, Santiago Dejo <santiago.dejo@...> wrote:
Hi Randy

1) Could you copy the error in catalina.out for us to see?  I'm thinking there might be a missing key, but can't tell without the log.

1.Here is a copy of the catalina log:

Oct 30, 2009 12:14:48 AM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8180
Oct 30, 2009 12:14:48 AM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8443
Oct 30, 2009 12:14:48 AM org.apache.catalina.connector.Connector pause
SEVERE: Protocol handler pause failed
java.lang.NullPointerException
    at org.apache.jk.server.JkMain.pause(JkMain.java:679)
    at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:163)
    at org.apache.catalina.connector.Connector.pause(Connector.java:1032)
    at org.apache.catalina.core.StandardService.stop(StandardService.java:489)
    at org.apache.catalina.core.StandardServer.stop(StandardServer.java:734)
    at org.apache.catalina.startup.Catalina.stop(Catalina.java:602)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.stop(Bootstrap.java:307)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.commons.daemon.support.DaemonLoader.stop(DaemonLoader.java:200)
Oct 30, 2009 12:14:49 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Oct 30, 2009 12:14:53 AM org.apache.coyote.http11.Http11BaseProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8180
Oct 30, 2009 12:14:53 AM org.apache.catalina.connector.MapperListener destroy
WARNING: Error unregistering MBeanServerDelegate
java.lang.NullPointerException
    at org.apache.catalina.connector.MapperListener.destroy(MapperListener.java:162)
    at org.apache.catalina.connector.Connector.stop(Connector.java:1138)
    at org.apache.catalina.core.StandardService.stop(StandardService.java:519)
    at org.apache.catalina.core.StandardServer.stop(StandardServer.java:734)
    at org.apache.catalina.startup.Catalina.stop(Catalina.java:602)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.stop(Bootstrap.java:307)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.commons.daemon.support.DaemonLoader.stop(DaemonLoader.java:200)
Oct 30, 2009 12:14:53 AM org.apache.coyote.http11.Http11BaseProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8443
Oct 30, 2009 12:14:53 AM org.apache.catalina.connector.Connector stop
SEVERE: Coyote connector has not been started
Oct 30, 2009 12:14:53 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Failed shutdown of Apache Portable Runtime
Oct 30, 2009 12:15:05 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/i386:/lib:/usr/lib
Oct 30, 2009 12:15:05 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8180
Oct 30, 2009 12:15:05 AM org.apache.coyote.http11.Http11BaseProtocol init
SEVERE: Error initializing endpoint
java.io.FileNotFoundException: /root/.keystore (Permission denied)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(JSSESocketFactory.java:284)
    at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeystore(JSSESocketFactory.java:227)
    at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.getKeyManagers(JSSE14SocketFactory.java:142)
    at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.init(JSSE14SocketFactory.java:110)
    at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:89)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:293)
    at org.apache.coyote.http11.Http11BaseProtocol.init(Http11BaseProtocol.java:139)
    at org.apache.catalina.connector.Connector.initialize(Connector.java:1017)
    at org.apache.catalina.core.StandardService.initialize(StandardService.java:578)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:782)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:267)
    at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:282)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:160)
Oct 30, 2009 12:15:05 AM org.apache.catalina.startup.Catalina load
SEVERE: Catalina.start
LifecycleException:  Protocol handler initialization failed: java.io.FileNotFoundException: /root/.keystore (Permission denied)
    at org.apache.catalina.connector.Connector.initialize(Connector.java:1019)
    at org.apache.catalina.core.StandardService.initialize(StandardService.java:578)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:782)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:267)
    at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:282)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:160)
Oct 30, 2009 12:15:05 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1853 ms
Oct 30, 2009 12:15:05 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Oct 30, 2009 12:15:05 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5
Oct 30, 2009 12:15:05 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Oct 30, 2009 12:15:07 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive oscar.war
Oct 30, 2009 12:15:40 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive OscarDocument.war
Oct 30, 2009 12:15:41 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8180
Oct 30, 2009 12:15:41 AM org.apache.coyote.http11.Http11BaseProtocol start
SEVERE: Error starting endpoint
java.io.FileNotFoundException: /root/.keystore (Permission denied)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(JSSESocketFactory.java:284)
    at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeystore(JSSESocketFactory.java:227)
    at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.getKeyManagers(JSSE14SocketFactory.java:142)
    at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.init(JSSE14SocketFactory.java:110)
    at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:89)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:293)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:313)
    at org.apache.coyote.http11.Http11BaseProtocol.start(Http11BaseProtocol.java:151)
    at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:76)
    at org.apache.catalina.connector.Connector.start(Connector.java:1090)
    at org.apache.catalina.core.StandardService.start(StandardService.java:457)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)
Oct 30, 2009 12:15:41 AM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start:
LifecycleException:  service.getName(): "Catalina";  Protocol handler start failed: java.io.FileNotFoundException: /root/.keystore (Permission denied)
    at org.apache.catalina.connector.Connector.start(Connector.java:1097)
    at org.apache.catalina.core.StandardService.start(StandardService.java:457)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)
Oct 30, 2009 12:15:41 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 35608 ms


  2) I'm not sure but are the characters included in utf-8?
 Yes they are included.

I also tried to save the translated txt as oscarResources_en.properties and got the same error.....no encounter screen....weird...

Santiago


Cheers,

Randy

On Tue, Oct 27, 2009 at 2:26 PM, Santiago Dejo <santiago.dejo@...> wrote:
Hi, I've translated the oscarResources_en.properties and created a
oscarResources_es_AR.properties txt file. I am testing with Firefox
3.0.14 on Ubuntu (installation with english as base language) and
Firefox 3.5 on XP (on spanish). On both I've added es-ar language on
Firefox Preferences.

I have 2 errors on both environments
1-When I'm using OSCAR on spanish I cannot acces the encounter screen
(so far, I can access other screens, Admin, etc.) I get
An unexpected system error occurred.
Please contact support with the date and time of this error.

If I change to english or french language everything runs OK.

2-I get wrong characters, instead of ñ It displays ñ, and instead of
í Ã, of ú ú...

Am I missing something?

Santiago

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Oscarmcmaster-devel mailing list
Oscarmcmaster-devel@...
https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel



--
Oscar Developer
McMaster University
175 Longwood Road South, Suite 201A
Hamilton ON  L8P 0A1
905 525 9140 x27735

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Oscarmcmaster-devel mailing list
Oscarmcmaster-devel@...
https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Oscarmcmaster-devel mailing list
Oscarmcmaster-devel@...
https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel




--
Oscar Developer
McMaster University
175 Longwood Road South, Suite 201A
Hamilton ON  L8P 0A1
905 525 9140 x27735

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Oscarmcmaster-devel mailing list
Oscarmcmaster-devel@...
https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel

Re: Translation help 1

by Santiago Dejo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Randy,

1) I noticed that when you start tomcat, you are getting "FileNotFoundException: /root/.keystore (Permission denied)" errors.  Did you create a ssl certificate in .keystore?  If so, who owns them and what are the permissions of the file?  Is the owner the same as the user tomcat runs as?

I installed Tomcat and created the ssl certificate following David Daley's installation manual (I guess the owner of the ssl and tomcat is the same),
 
sudo $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA -keystore /root/.keystore

and then

sudo vi $CATALINA_HOME/conf/server.xml

<!– Define a SSL HTTP/1.1 Connector on port 8443 –>

<Connector port="8443" maxHttpHeaderSize="8192"

maxThreads="150" minSpareThreads="25" maxSpareThreads="75"

enableLookups="false" disableUploadTimeout="true"

acceptCount="100" scheme="https" secure="true"

clientAuth="false"

keystoreFile="/root/.keystore"

sslProtocol="TLS" />

Also could you execute "tail -f catalina.out" just before you attempt to access the eChart.  If an error is printed could you copy it here?
To achieve that, do I write "tail -f catalina.out" in terminal?


2) I'm not sure what to say about the characters.  What pages do these symbols appear on?  I wonder if the character encoding has been set to utf-8 on them.

In all the pages. I´ll send you some snapshots.


Thanks for the patience, my English and my IT knowledge aren´t as good as I wish...but I really like to learn new things..and I'm an OSCAR fan trying to convince everyone to use OSCAR (language is a barrier for many users, that's why I'm working on translation)...

Cheers
Santiago
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Oscarmcmaster-devel mailing list
Oscarmcmaster-devel@...
https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel

Re: Translation help 1

by David Daley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Try the updated instructions for the keystore (it is more explicit):

sudo $JAVA_HOME/bin/keytool -genkey -dname "CN=192.168.2.200, OU=Indivica, O=Indivica, L=Toronto, ST=Ontario, C=CA" -alias tomcat -validity 3650 -keyalg RSA -keystore /root/.keystore -keypass changeit -storepass changeit

and

<!– Define a SSL HTTP/1.1 Connector on port 8443 –>

<Connector port="8443" maxHttpHeaderSize="8192"

maxThreads="150" minSpareThreads="25" maxSpareThreads="75"

enableLookups="false" disableUploadTimeout="true"

acceptCount="100" scheme="https" secure="true"

clientAuth="false"

keystoreFile="/root/.keystore" ### add this line

keystorePass="put-your-password-here" ### add this line – this is the password from the certificate creation command

sslProtocol="TLS" />


-David

On Sat, Oct 31, 2009 at 1:10 AM, Santiago Dejo <santiago.dejo@...> wrote:
Randy,

1) I noticed that when you start tomcat, you are getting "FileNotFoundException: /root/.keystore (Permission denied)" errors.  Did you create a ssl certificate in .keystore?  If so, who owns them and what are the permissions of the file?  Is the owner the same as the user tomcat runs as?

I installed Tomcat and created the ssl certificate following David Daley's installation manual (I guess the owner of the ssl and tomcat is the same),
 
sudo $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA -keystore /root/.keystore

and then

sudo vi $CATALINA_HOME/conf/server.xml

<!– Define a SSL HTTP/1.1 Connector on port 8443 –>

<Connector port="8443" maxHttpHeaderSize="8192"

maxThreads="150" minSpareThreads="25" maxSpareThreads="75"

enableLookups="false" disableUploadTimeout="true"

acceptCount="100" scheme="https" secure="true"

clientAuth="false"

keystoreFile="/root/.keystore"

sslProtocol="TLS" />

Also could you execute "tail -f catalina.out" just before you attempt to access the eChart.  If an error is printed could you copy it here?
To achieve that, do I write "tail -f catalina.out" in terminal?


2) I'm not sure what to say about the characters.  What pages do these symbols appear on?  I wonder if the character encoding has been set to utf-8 on them.

In all the pages. I´ll send you some snapshots.


Thanks for the patience, my English and my IT knowledge aren´t as good as I wish...but I really like to learn new things..and I'm an OSCAR fan trying to convince everyone to use OSCAR (language is a barrier for many users, that's why I'm working on translation)...

Cheers
Santiago
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Oscarmcmaster-devel mailing list
Oscarmcmaster-devel@...
https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Oscarmcmaster-devel mailing list
Oscarmcmaster-devel@...
https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel

Re: Translation help 1

by Santiago Dejo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I rebuild a server following David Daley updated instructions.  Problem persists, cannot open encounter screen on spanish, everything goes fine on english or french.
Catalina log
Nov 4, 2009 2:33:44 AM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8180
Nov 4, 2009 2:33:44 AM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8443
Nov 4, 2009 2:33:45 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Nov 4, 2009 2:33:49 AM org.apache.coyote.http11.Http11BaseProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8180
Nov 4, 2009 2:33:49 AM org.apache.coyote.http11.Http11BaseProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8443
Nov 4, 2009 2:33:49 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Failed shutdown of Apache Portable Runtime
Nov 4, 2009 2:34:01 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:
Nov 4, 2009 2:34:01 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8180
Nov 4, 2009 2:34:03 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8443
Nov 4, 2009 2:34:03 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3149 ms
Nov 4, 2009 2:34:03 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Nov 4, 2009 2:34:03 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5
Nov 4, 2009 2:34:03 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Nov 4, 2009 2:34:05 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive OscarDocument.war
Nov 4, 2009 2:34:05 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive oscar.war
Nov 4, 2009 2:35:03 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8180
Nov 4, 2009 2:35:04 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8443
Nov 4, 2009 2:35:05 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Nov 4, 2009 2:35:05 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/257  config=null
Nov 4, 2009 2:35:05 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Nov 4, 2009 2:35:05 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 62182 ms

Santiago.


On Mon, Nov 2, 2009 at 5:41 PM, David Daley <davidgdaley@...> wrote:
Try the updated instructions for the keystore (it is more explicit):

sudo $JAVA_HOME/bin/keytool -genkey -dname "CN=192.168.2.200, OU=Indivica, O=Indivica, L=Toronto, ST=Ontario, C=CA" -alias tomcat -validity 3650 -keyalg RSA -keystore /root/.keystore -keypass changeit -storepass changeit

and

<!– Define a SSL HTTP/1.1 Connector on port 8443 –>

<Connector port="8443" maxHttpHeaderSize="8192"

maxThreads="150" minSpareThreads="25" maxSpareThreads="75"

enableLookups="false" disableUploadTimeout="true"

acceptCount="100" scheme="https" secure="true"

clientAuth="false"

keystoreFile="/root/.keystore" ### add this line

keystorePass="put-your-password-here" ### add this line – this is the password from the certificate creation command

sslProtocol="TLS" />


-David

On Sat, Oct 31, 2009 at 1:10 AM, Santiago Dejo <santiago.dejo@...> wrote:
Randy,

1) I noticed that when you start tomcat, you are getting "FileNotFoundException: /root/.keystore (Permission denied)" errors.  Did you create a ssl certificate in .keystore?  If so, who owns them and what are the permissions of the file?  Is the owner the same as the user tomcat runs as?

I installed Tomcat and created the ssl certificate following David Daley's installation manual (I guess the owner of the ssl and tomcat is the same),
 
sudo $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA -keystore /root/.keystore

and then

sudo vi $CATALINA_HOME/conf/server.xml

<!– Define a SSL HTTP/1.1 Connector on port 8443 –>

<Connector port="8443" maxHttpHeaderSize="8192"

maxThreads="150" minSpareThreads="25" maxSpareThreads="75"

enableLookups="false" disableUploadTimeout="true"

acceptCount="100" scheme="https" secure="true"

clientAuth="false"

keystoreFile="/root/.keystore"

sslProtocol="TLS" />

Also could you execute "tail -f catalina.out" just before you attempt to access the eChart.  If an error is printed could you copy it here?
To achieve that, do I write "tail -f catalina.out" in terminal?


2) I'm not sure what to say about the characters.  What pages do these symbols appear on?  I wonder if the character encoding has been set to utf-8 on them.

In all the pages. I´ll send you some snapshots.


Thanks for the patience, my English and my IT knowledge aren´t as good as I wish...but I really like to learn new things..and I'm an OSCAR fan trying to convince everyone to use OSCAR (language is a barrier for many users, that's why I'm working on translation)...

Cheers
Santiago
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Oscarmcmaster-devel mailing list
Oscarmcmaster-devel@...
https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Oscarmcmaster-devel mailing list
Oscarmcmaster-devel@...
https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Oscarmcmaster-devel mailing list
Oscarmcmaster-devel@...
https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel

Re: Translation help 1

by Randy Jonasz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Santiago,

That looks better.  But I was wondering if you have anything in catalina.out when you open the eChart with your browser set to Spanish?  Type "tail -f catalina.out" in the logs directory.  Then access the eChart.  Could you copy and paste the output here so I can see?

Cheers,

Randy

On Tue, Nov 3, 2009 at 11:46 PM, Santiago Dejo <santiago.dejo@...> wrote:
I rebuild a server following David Daley updated instructions.  Problem persists, cannot open encounter screen on spanish, everything goes fine on english or french.
Catalina log
Nov 4, 2009 2:33:44 AM org.apache.coyote.http11.Http11BaseProtocol pause

INFO: Pausing Coyote HTTP/1.1 on http-8180
Nov 4, 2009 2:33:44 AM org.apache.coyote.http11.Http11BaseProtocol pause

INFO: Pausing Coyote HTTP/1.1 on http-8443
Nov 4, 2009 2:33:45 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Nov 4, 2009 2:33:49 AM org.apache.coyote.http11.Http11BaseProtocol destroy

INFO: Stopping Coyote HTTP/1.1 on http-8180
Nov 4, 2009 2:33:49 AM org.apache.coyote.http11.Http11BaseProtocol destroy

INFO: Stopping Coyote HTTP/1.1 on http-8443
Nov 4, 2009 2:33:49 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent

INFO: Failed shutdown of Apache Portable Runtime
Nov 4, 2009 2:34:01 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent

INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:
Nov 4, 2009 2:34:01 AM org.apache.coyote.http11.Http11BaseProtocol init

INFO: Initializing Coyote HTTP/1.1 on http-8180
Nov 4, 2009 2:34:03 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8443
Nov 4, 2009 2:34:03 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3149 ms
Nov 4, 2009 2:34:03 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Nov 4, 2009 2:34:03 AM org.apache.catalina.core.StandardEngine start

INFO: Starting Servlet Engine: Apache Tomcat/5.5
Nov 4, 2009 2:34:03 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Nov 4, 2009 2:34:05 AM org.apache.catalina.startup.HostConfig deployWAR

INFO: Deploying web application archive OscarDocument.war
Nov 4, 2009 2:34:05 AM org.apache.catalina.startup.HostConfig deployWAR

INFO: Deploying web application archive oscar.war
Nov 4, 2009 2:35:03 AM org.apache.coyote.http11.Http11BaseProtocol start

INFO: Starting Coyote HTTP/1.1 on http-8180
Nov 4, 2009 2:35:04 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8443
Nov 4, 2009 2:35:05 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Nov 4, 2009 2:35:05 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/257  config=null
Nov 4, 2009 2:35:05 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Nov 4, 2009 2:35:05 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 62182 ms

Santiago.



On Mon, Nov 2, 2009 at 5:41 PM, David Daley <davidgdaley@...> wrote:
Try the updated instructions for the keystore (it is more explicit):

sudo $JAVA_HOME/bin/keytool -genkey -dname "CN=192.168.2.200, OU=Indivica, O=Indivica, L=Toronto, ST=Ontario, C=CA" -alias tomcat -validity 3650 -keyalg RSA -keystore /root/.keystore -keypass changeit -storepass changeit

and

<!– Define a SSL HTTP/1.1 Connector on port 8443 –>

<Connector port="8443" maxHttpHeaderSize="8192"

maxThreads="150" minSpareThreads="25" maxSpareThreads="75"

enableLookups="false" disableUploadTimeout="true"

acceptCount="100" scheme="https" secure="true"

clientAuth="false"

keystoreFile="/root/.keystore" ### add this line

keystorePass="put-your-password-here" ### add this line – this is the password from the certificate creation command

sslProtocol="TLS" />


-David

On Sat, Oct 31, 2009 at 1:10 AM, Santiago Dejo <santiago.dejo@...> wrote:
Randy,

1) I noticed that when you start tomcat, you are getting "FileNotFoundException: /root/.keystore (Permission denied)" errors.  Did you create a ssl certificate in .keystore?  If so, who owns them and what are the permissions of the file?  Is the owner the same as the user tomcat runs as?

I installed Tomcat and created the ssl certificate following David Daley's installation manual (I guess the owner of the ssl and tomcat is the same),
 
sudo $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA -keystore /root/.keystore

and then

sudo vi $CATALINA_HOME/conf/server.xml

<!– Define a SSL HTTP/1.1 Connector on port 8443 –>

<Connector port="8443" maxHttpHeaderSize="8192"

maxThreads="150" minSpareThreads="25" maxSpareThreads="75"

enableLookups="false" disableUploadTimeout="true"

acceptCount="100" scheme="https" secure="true"

clientAuth="false"

keystoreFile="/root/.keystore"

sslProtocol="TLS" />

Also could you execute "tail -f catalina.out" just before you attempt to access the eChart.  If an error is printed could you copy it here?
To achieve that, do I write "tail -f catalina.out" in terminal?


2) I'm not sure what to say about the characters.  What pages do these symbols appear on?  I wonder if the character encoding has been set to utf-8 on them.

In all the pages. I´ll send you some snapshots.


Thanks for the patience, my English and my IT knowledge aren´t as good as I wish...but I really like to learn new things..and I'm an OSCAR fan trying to convince everyone to use OSCAR (language is a barrier for many users, that's why I'm working on translation)...

Cheers
Santiago
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Oscarmcmaster-devel mailing list
Oscarmcmaster-devel@...
https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Oscarmcmaster-devel mailing list
Oscarmcmaster-devel@...
https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Oscarmcmaster-devel mailing list
Oscarmcmaster-devel@...
https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel




--
Oscar Developer
McMaster University
175 Longwood Road South, Suite 201A
Hamilton ON  L8P 0A1
905 525 9140 x27735

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Oscarmcmaster-devel mailing list
Oscarmcmaster-devel@...
https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel

Re: Translation help 1

by Santiago Dejo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
Problem solved. I can access the encounter screen. I compared the oscar.resources file from my last installation 9.06 with the file I've edited. There were 3 missing lines on the oscar.resources file that I've edited. I don't know if I accidentally deleted the lines or if there was a change in the oscar.resources file.

Still having problems with some characters, ñ, á,é,í,ó,ú...(they are UTF-8) that are displayed erroneously.. I think it may be some language pack missing in the browser or the system...but not sure because I can see those characters in other webpages...


Cheers,
Santiago


 On Wed, Nov 4, 2009 at 11:57 AM, Randy Jonasz <rjonasz@...> wrote:
Hi Santiago,

That looks better.  But I was wondering if you have anything in catalina.out when you open the eChart with your browser set to Spanish?  Type "tail -f catalina.out" in the logs directory.  Then access the eChart.  Could you copy and paste the output here so I can see?

Cheers,

Randy


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Oscarmcmaster-devel mailing list
Oscarmcmaster-devel@...
https://lists.sourceforge.net/lists/listinfo/oscarmcmaster-devel