Daul language support to swing application
hi
i want to develop the swing application, which has to support two Language say Thai and english, regardless of windows settings (i.e.windows language settings)
It may be thai window with thai keyboard or English windows
pls suggest some solution
rgds
Venki
There is a an internationalization forum which might be more helpful.
http://forum.java.sun.com/forum.jsp?forum=16
General internationalization can be broken into the following:
1 - Text
a. Program specific - never visible to user
b. User specific - not used by the application (like text on a button)
c. Mixed - used by the user and the application. For example a spelling checker needs to look at words.
2 - Cultural differences
More generic and harder to classify. For instance a 'nice' GUI in hebrew would be oriented right to left rather than left to right. This is different than simply displaying different messages. Another is icons. A icon that means something in one culture can have a completely different meaning in another (like the US hand single for 'ok'.) Another is that at least one language has numbers that have 'sex', consequently a statement like "File 1 was not found" where "1" is dynamically generated does not have a textual representation.
Some Solution (probably not even close to all):
1a. nothing needs to be done.
1b. Use a resource file - see java.util.ResourceBundle. Verify that display texts always 'fits' for the targeted language. Keep in mind that outsourcing this can take a lot of time, so plan accordingly.
1c. Use a translation layer. It starts with a given language and translates into a fixed set. A translator is needed for each target language.
2. This requires at least one reviewer, preferably native, who is familar with the language.
Similar Messages
-
How can I unit test my Swing application?
Hi All,
In my application I came across a situation where I have to automate the unit testing of my application.
Using my application user can able to draw polylines and rectangles on a BufferedImage added to a JFrame.
Can any one please help/suggest me, how to automate the drawing process (this process consists of drawing the polylines with mouse and few action/mouse events)?
your help will be highly helpful to me.
SatyaWhat exactly will that unit test prove? That you can mock the drawing of lines?
Unit test are supposed to test certain parts of your application code - I'd concentrate on unit tests that are actually useful and for example in the future can help to catch regressions.
If anywhere you can get help creating unit tests of this magnitude, I'd look in the unit testing support for Swing applications. Google for "java swing unit test" to see what you can come up with. Probably you'll need to create some plumbing yourself to make custom painting unit-testable; perhaps you could do something with painting to a BufferedImage in stead of to a Swing component for example. -
Certificate support in Java Swing application
Hi There,
I am new to this Certificate thing and running into issues! Would appreciate for all the help and please ignore for any stupid questions.
Here is my scenario.
1. I do have a client server application and client is a java swing application which connects to a Server application (Using Jetty 4.2.22 as embedded server)
2. Initially, it had a self signed certificate but goal is to support third party certificate (i.e import in the server and then show warning to the client during login)
If somebody has already done this or point me to some example (using Jetty APIs) that would be great help. If not, here is what I am trying to do and some questions.
1. I tried to get some free SSL certificate from the web and imported into the server's KeyStore.
If I do a list from the server using Keystore, this is what it looks like
keytool -list -keystore /tmp/keystore -storepass genview
Keystore type: JKS
Keystore provider: SUN
Your keystore contains 2 entries
self, Dec 3, 2008, PrivateKeyEntry,
Certificate fingerprint (MD5): 0D:58:E8:77:89:09:F8:2B:37:64:37:D5:03:AD:C9:0B
rapid, Jan 6, 2009, trustedCertEntry,
Certificate fingerprint (MD5): 64:9C:EF:2E:44:FC:C6:8F:52:07:D0:51:73:8F:CB:3
QUESTION 1 : why the third party certificate's entry as "trustedCertEntry"? Is it always like this? Do I need to have only one certificate at a time? (If so, just remove the self signed and have 3rd party one)
My Jetty server comes up but when I connect from Client Swing App, the "getServerCertificates()" method only returns one entry i.e self signed one but not the third party one.
I am using like this
URL url = new URL("https://127.0.0.1:port");
HttpsURLConnection conn = (HttpsURLConnection) url.openConnection();
conn.connect();
Certificate[] certs = conn.getServerCertificates();
Is not this API supposed to return all the server's certificate?
Please guide me or instruct me what to do.
Thanks,
CRBCrossposted and answered.
-
Hello,
I am developing a Windows Phone 8 application (for Nokia/ Microsoft Lumia) where multiple languages will be supported. Now, it is needed to support Bengali (Bangladeshi language) in my Windows phone 8 application.
But, I didn't find Bengali language in the Setting -> Language -> phone Language. So could anyone tell me that a multiple language supported windows phone 8 application support Bengali language or not. If it is possible, then how user will change
the app language from phone setting?
FYI .. From Microsoft OEM documentation, I have known that Windows Phone 8.1 GDR2 includes support for Bangla (Bangladesh language).
ThanksHi NONAME-2007,
As far as I known the Bangla language is supported as a on-screen keyboard language on the Windows Phone 8. But it is not supported as a display language in Windows Phone 8, so you can not choose this language from the phone setting. For more information,
please try to refer to the following article:
http://www.windowsphone.com/en-us/how-to/wp8/basics/feature-and-service-availability .
Best Regards,
Amy Peng
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to get mouse wheel action in my swing application?
Hi
In my mouse, i am having mousewheel to support scrolling.With the help of the wheel, i can scroll the pages in IE browser or any other appliction.
In swing application ,i have scroll bar inside a JFrame.I want to have mousewheel action in my swing application to support scrolling.
any idea ???
ThanksAs far as I know,there is no facility for detecting mouse scrolling wheel in JDK 1.3.
Check it in the later releases of JDK. -
Java Swing application problem in Windows vista
When we execute the Swing application in windows vista environment.
The look and feel of the swing components are displayed improperly.
Do we need to put any specific look and feel for windows vista environment or any specific hardware configuration is required to setup windows vista environment.
Please give some inputs to solve the problem.
We have tried with the following sample code to run in windows vista.
* Vista.java
* Created on December 5, 2006, 5:39 PM
public class Vista extends javax.swing.JFrame {
/** Creates new form Vista */
public Vista() {
initComponents();
pack();
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
private void initComponents() {
jButton1 = new javax.swing.JButton();
jToggleButton1 = new javax.swing.JToggleButton();
jPanel1 = new javax.swing.JPanel();
jCheckBox1 = new javax.swing.JCheckBox();
jScrollPane1 = new javax.swing.JScrollPane();
jTextArea1 = new javax.swing.JTextArea();
jTextField1 = new javax.swing.JTextField();
getContentPane().setLayout(null);
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
jButton1.setText("Button 1");
getContentPane().add(jButton1);
jButton1.setBounds(20, 20, 170, 30);
jToggleButton1.setText("Togle btn");
getContentPane().add(jToggleButton1);
jToggleButton1.setBounds(100, 80, 90, 20);
jPanel1.setLayout(null);
jCheckBox1.setText("jCheckBox1");
jCheckBox1.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
jCheckBox1.setMargin(new java.awt.Insets(0, 0, 0, 0));
jPanel1.add(jCheckBox1);
jCheckBox1.setBounds(10, 40, 130, 13);
getContentPane().add(jPanel1);
jPanel1.setBounds(10, 150, 200, 130);
jTextArea1.setColumns(20);
jTextArea1.setRows(5);
jScrollPane1.setViewportView(jTextArea1);
getContentPane().add(jScrollPane1);
jScrollPane1.setBounds(210, 150, 164, 94);
jTextField1.setText("jTextField1");
getContentPane().add(jTextField1);
jTextField1.setBounds(240, 30, 140, 30);
pack();
}// </editor-fold>//GEN-END:initComponents
* @param args the command line arguments
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new Vista().setVisible(true);
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JButton jButton1;
private javax.swing.JCheckBox jCheckBox1;
private javax.swing.JPanel jPanel1;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JTextArea jTextArea1;
private javax.swing.JTextField jTextField1;
private javax.swing.JToggleButton jToggleButton1;
// End of variables declaration//GEN-END:variables
}When we execute the Swing application in windows
vista environment.
The look and feel of the swing components are
displayed improperly.Improperly means what? You must be aware that Vista's native L&F certainly isn't supported yet. -
A database connection in a swing application
hi ,
i am developping an intranet stabdalone swing application based on a jdbc connection to oracle8i data server.
in fact i am interested in keeping my user authentification encrypted while this connection is done! is there any method to do it ! i read about SSL but is it supported by web application ! i have a client-server simple connection !
please help !Hello Levi,
You can to do this form:
String appModule = "yourAppmodule";
String config = "yourAppmodule"+ "Local";
ApplicationModule am = Configuration.createRootApplicationModule(appModule, config);
ConnectionMetada cm = am.getTransaction().getConnectionMetadata();
DriverManager.registerDriver(new OracleDriver());
Connection connection = DriverManager.getConnection(cm.getJdbcURL());You can to see this threads:
Retrieve Database Connection
Getting the Connection object out of ApplicationModule
Regards,
Renan -
Unicode characters with accents won't display in Java Swing applications
I'm using FreeMind (a Java Swing application) and I need to enter classical Greek characters with accent marks. When I type an accented Greek character, FreeMind displays the unaccented character. However, I can type the accented character in MS Word, then copy and paste into FreeMind, the accented character appears.
One of the FreeMind developers indicated this was a Java Swing issue, not FreeMind, and suggested I test with another Swing application. So, I installed jEdit and got exactly the same results. I can paste an accented character into jEdit, but I cannot type it in directly.
I'm using Windows Vista with Java 6 Update 22 (build 1.6.0_22-b04). I also tested on a XP Pro box with Java 1.6.0_18-b07 and got the same result.
One other note: A couple days ago, I was able to type accented Greek characters into FreeMind. But it only worked for a couple days and then the behavior reverted to unaccented characters. It is possible, but I don't recall specifically, that I updated Java during the time and that may indicate a bug in one version of Java but not another.
Any assistance or guidance would be greatly appreciated!
DarinWalter,
The link you provided does not appear to describe the Greek Polytonic keyboard. (The page also describes using the "Option" key as the dead key. There is no "Option" key on my keyboard. I'm using a Sony VGN-NS140E purchased in Chicago, i.e. standard physical US keyboard.)
Please see http://darindavis.net/languages/keyboard_Greek.pdf for a detailed description of how to use the Greek (Polytonic) keyboard in Windows to produce a complete set of accented classical Greek characters. This method works in MS Word and Notepad. I enabled the Greek (Polytonic) keyboard with:
Windows (Vista) Start > Control Panel > Regional and Language Options > Change Keyboards > General > Add > Greek (Greece) > Greek Polytonic
A test that will demonstrate whether you can replicate the error is to do the following in both MS Word (or Notepad) and jEdit (or FreeMind):
1. Enable the Greek Polytonic keyboard
2. Type "\" then "e" which should produce an epsilon with smooth breathing and grave accent (ἒ)
When I do this in MS Word or Notepad, I see the epsilon with smooth breathing and grave accent. When I do this in jEdit and FreeMind, I only see an epsilon.
I recorded a screencast to illustrate the problem: http://www.screencast.com/t/TRKkKQrCgbN
Actually, this problem is transient. Sometimes FreeMind or jEdit will display accented characters, other times it won't. Ironically, the first time I recorded the above referenced screencast, a few characters in jEdit did appear with accents. A couple minutes later, I re-recorded the screencast and as you can see jEdit did not display the accents. Between the two recordings I literally did nothing other than stop the Jing recording and start a new one. There is another variable at play here and I can't determine what it is. The most likely source seems to be Java since MS Word and Notepad consistently display accent characters.
Thanks,
Darin -
Re: Native Language Support in Forte
[email protected] wrote:
I've been posed a question in the abstract about Forte's native language
support. Does Forte support any languages other than C/C++? And if so,
what are the limitations or caveats?
Native Language Support could also mean the NLS standard which Forte supports. This
provides for Internationalization (I18N) of a Forte application. This means a client
application deployed in french, german, and english (for example), could all be making
requests of the same Forte shared service and getting responses in the native language.
We provide for changing the language/character set displayed both statically before the
application starts, and dynamically change it while the application is running.
If support native language support means ability for Forte to call existing application
logic written in C/C++, then today you can "wrapper" C functions in a Forte Class,
instantiate the class and "call-out" to the member functions (your c functions) directly
from the 4GL object.
C++ functions are a challenge due to cross platform C++ compiler issues which at a
minimum include "name mangling" being non-standard for all the C++ compilers.
However, you can "export" C++ class member functions as external "C" functions so that C
code can call the function as if it was regular K&R or ANSI C.
If other language support is required, I have customers on the East Coast which have
successfully wrappered MicroFocus Cobol on HP-UX, and the ADA language. This is due to
the concept of all 3GL languages today support the concept of allowing for their
language to be called from 'C' (other possibilities are Pascal, Fortran, etc).
Here the only caveat is you need to be aware of the other language's "boot-code" may be
registering for operating system "signals" and not handling them appropriately. This
rarely is an issue these days.
If other language support means do we code generate our 4GL language to any language
other than 'C++', the answer is currently "no".
However, we do support exporting Service object definitions to environments like DCE,
CORBA, Encinca (a TP monitor), and the WWW. In our next release we will complete our
support for exporting services objects to Java. This will allow for Java applications to
call upon the power of Forte's Shared Services architecture. Using this exporting
concept, applications written in various other languages would be able to "call-in" to
the Forte shared service from the ourside world.
Didn't know what you were looking for. Hope the above hit the mark. If not, write me, or
give me a call.
Regards,
jimNot exactly sure what you are asking. Can you rephrase your question?
If your other server's locale is same as the one you configured then it should be ok. -
Hi,
I'm currently in the planning stages of an application that will use swing, be deployed on a Websphere Application Express V5 server, and access a postgresql database. The application will need to display/add/modify data as well as do complex calculations, validations, etc. All database requests need to be made from the application server rather than the client. I'm having trouble figuring out what approach to take. I'm reading up on Swing, but what do I need to use to handle the data. Ejb's are not supported on our application server. Should I use RMI, servlets, or javabeans or a combination. Is there anything else I should consider. Any help would be appreciated. Thank you.You seem determined to use Swing.
I am not sure that it is necessarily a good idea. Yes Swing allows you to create a native look and feel, but what else is it giving you? If you want to do a lot of local processing such as a CAD program, then fair enough. But Swing also give you the security risk that people can view and change your Swing code as it will likely be on the client machines. This means you will have to consider how to protect passwords.
A servlet could communicate with Swing but is more usually in communication with a browser. This seems a little more secure. You will be able to design forms similar to the sun forum and display data. Also because the code is on the server, you can update everyones code easily.
However if this is your first big project, you should buy in some experience, as suggested previously. -
Linguistics Studio - russian language support
Adding russian language support fails:
Run Linguistics Studio v1.23.
Import als-ru.zip from ALS_esp53_Russian_1_1_all with parameters: Lemmatize by document expansion, Noun + Adjective + Verb (checked), Deploy changes to ESP atfer import (checked).
Linguistics Studio message: "The Russian ALS package has been successfully imported into [project name]".
Click "Deploy and Execute Required Operations".
(Very long deploying - day or somethig.)
Linguistics Studio error (Could not deploy [project name]: java.lang.RuntimeException: dj exiited with value 1):
Log error (full):
C:\esp\bin>dictman.cmd --debug
11:41:08,725 DEBUG ESPClientContainer
Appender org.apache.log4j.ConsoleAppender@11e1e67 added to root logger
11:41:08,726 DEBUG ESPClientContainer
Transferring options from command line to DictMan[properties:null file:null local:false execute:null properties:null]
11:41:09,000 DEBUG OptionsFacade
Setting debug=true (class java.lang.Boolean) in DictMan[properties:null file:null local:false execute:null properties:null]
11:41:09,006 DEBUG ESPClientContainer
ESPClientContainer[app:'esp4jtool-dictman' hosting main:DictMan[properties:null file:null local:false execute:null properties:null] ctx:ContextHelper[Not loaded:[esp4j-core-context.xml, esp4j-remote-client-context.xml, esp4j-remote-
admin-context.xml, esp4jtool-dictman-context.xml]]
adminserver@null:0] will continue to boot...
11:41:09,006 DEBUG ContextHelper
ContextHelper[Not loaded:[esp4j-core-context.xml, esp4j-remote-client-context.xml, esp4j-remote-admin-context.xml, esp4jtool-dictman-context.xml]] now loading contexts ...
11:41:09,231 INFO XmlBeanDefinitionReader
Loading XML bean definitions from class path resource [esp4j-core-context.xml]
11:41:09,381 INFO XmlBeanDefinitionReader
Loading XML bean definitions from class path resource [esp4j-remote-client-context.xml]
11:41:09,401 INFO XmlBeanDefinitionReader
Loading XML bean definitions from class path resource [esp4j-remote-admin-context.xml]
11:41:09,631 INFO XmlBeanDefinitionReader
Loading XML bean definitions from class path resource [esp4jtool-dictman-context.xml]
11:41:09,644 INFO ClassPathXmlApplicationContext
Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=18248114]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans
[resourceLoader,propertiesLoader,configurationService,esp4jProperties,exceptionSentry,stateStorage,executor,login,remoteAuthenticationService,managedQueriesService,boostsAndBlocksService,dictionaryService,spelltuningService,collectionSer
vice,indexerControlService,indexProfileService,blissService,viewService,searchDispatcherService,deploymentManagerService,queryStatisticsService,watchedQueriesService,rankProfileService,presentationService,userManagementService,searchProf
ileService,statusService,productInfoService,mailSenderService,nodeService,echoService,usageReportingService,documentStatusService,dictMan]; root of BeanFactory hierarchy
11:41:09,671 INFO ClassPathXmlApplicationContext
34 beans defined in application context [org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=18248114]
11:41:09,674 INFO DefaultListableBeanFactory
Creating shared instance of singleton bean 'esp4jProperties'
11:41:09,758 INFO DefaultListableBeanFactory
Creating shared instance of singleton bean 'resourceLoader'
11:41:09,762 DEBUG Platform
Determined platform: com.fastsearch.esp.admin.util.Platform:[name=Windows, arch=null]
11:41:09,763 DEBUG DefaultResourceLoader
com.fastsearch.esp.admin.util.ESPAwareResourceLoader[[]] adds path
file:///c:/esp
11:41:09,763 DEBUG DefaultResourceLoader
com.fastsearch.esp.admin.util.ESPAwareResourceLoader[[file:///c:/esp]] adds path
file:///c:/esp/etc
11:41:09,763 DEBUG DefaultResourceLoader
com.fastsearch.esp.admin.util.ESPAwareResourceLoader[[file:///c:/esp,
file:///c:/esp/etc]] adds path file:///c:/esp/etc/dtd
11:41:09,763 DEBUG DefaultResourceLoader
com.fastsearch.esp.admin.util.ESPAwareResourceLoader[[file:///c:/esp/etc/dtd,
file:///c:/esp, file:///c:/esp/etc]] adds path
file:///c:/esp/index-profiles
11:41:09,776 INFO DefaultListableBeanFactory
Creating shared instance of singleton bean 'configurationService'
11:41:09,786 INFO DefaultListableBeanFactory
Creating shared instance of singleton bean 'propertiesLoader'
11:41:09,804 DEBUG DefaultResourceLoader
File exists: file:///c:/esp/etc/esp4j.properties
11:41:09,804 DEBUG DefaultResourceLoader
com.fastsearch.esp.admin.util.ESPAwareResourceLoader[[file:///c:/esp/etc/dtd,
file:///c:/esp/index-profiles,
file:///c:/esp, file:///c:/esp/etc],
applicationContext:org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=18248114] found resource file:/c:/esp/etc/esp4j.properties for reference 'etc/esp4j.properties'
11:41:09,806 DEBUG ConfigurationServiceImpl
ConfigurationServiceImpl[web context:false, 30 properties <= [] + esp4j.main.properties.url:etc/esp4j.properties, esp4j.app.properties.url:, using com.fastsearch.esp.admin.util.ESPAwareResourceLoader[[file:///c:/esp/etc/dtd,
file:///c:/esp/index-profiles,
file:///c:/esp, file:///c:/esp/etc], applicationContext:org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=18248114]] read 30 properties from etc/esp4j.properties
11:41:09,806 DEBUG ConfigurationServiceImpl
got empty value for property 'esp4j.app.properties.url'
11:41:09,806 DEBUG PropertiesLoader
PropertiesLoader[resourceLoader:com.fastsearch.esp.admin.util.ESPAwareResourceLoader[[file:///c:/esp/etc/dtd,
file:///c:/esp/index-profiles,
file:///c:/esp, file:///c:/esp/etc],
applicationContext:org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=18248114]] found System property esp.port set to '13000', not overwriting it with '13000'
11:41:09,806 DEBUG PropertiesLoader
PropertiesLoader[resourceLoader:com.fastsearch.esp.admin.util.ESPAwareResourceLoader[[file:///c:/esp/etc/dtd,
file:///c:/esp/index-profiles,
file:///c:/esp, file:///c:/esp/etc],
applicationContext:org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=18248114]] found System property esp.host set to '[servername]', not overwriting it with '[servername]'
11:41:09,807 DEBUG PropertiesLoader
PropertiesLoader[resourceLoader:com.fastsearch.esp.admin.util.ESPAwareResourceLoader[[file:///c:/esp/etc/dtd,
file:///c:/esp/index-profiles,
file:///c:/esp, file:///c:/esp/etc],
applicationContext:org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=18248114]] found System property esp.home set to 'c:\esp', not overwriting it with 'c:/esp'
11:41:09,807 DEBUG ConfigurationServiceImpl
ConfigurationServiceImpl[web context:false, 30 properties <= [] + esp4j.main.properties.url:etc/esp4j.properties, esp4j.app.properties.url:, using com.fastsearch.esp.admin.util.ESPAwareResourceLoader[[file:///c:/esp/etc/dtd,
file:///c:/esp/index-profiles,
file:///c:/esp, file:///c:/esp/etc], applicationContext:org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=18248114]]: Properties printout:
11:41:09,808 DEBUG ConfigurationServiceImpl
esp.port='13000'
11:41:09,808 DEBUG ConfigurationServiceImpl
esp.adminserver.sso-key='00000131A84B346F'
11:41:09,808 DEBUG ConfigurationServiceImpl
esp.adminserver.downloadservlet='download'
11:41:09,808 DEBUG ConfigurationServiceImpl
esp.adminserver.deployment.didyoumeanconfigfiles='wordsplitting,etc/qrserver/didyoumean/wordsplitting.xml,propernames,etc/qrserver/didyoumean/propername.xml,en,etc/qrserver/didyoumean/spellcheck.english.xml,de,etc/qrserver/didyoumean/spe
llcheck.german.xml,fr,etc/qrserver/didyoumean/spellcheck.french.xml,es,etc/qrserver/didyoumean/spellcheck.spanish.xml,it,etc/qrserver/didyoumean/spellcheck.italian.xml,pt,etc/qrserver/didyoumean/spellcheck.portuguese.xml,no,etc/qrserver/
didyoumean/spellcheck.norwegian.xml,pl,etc/qrserver/didyoumean/spellcheck.polish.xml,ru,etc/qrserver/didyoumean/spellcheck.russian.xml,hu,etc/qrserver/didyoumean/spellcheck.hungarian.xml,nl,etc/qrserver/didyoumean/spellcheck.dutch.xml,ko
,etc/qrserver/didyoumean/spellcheck.korean.xml,antiphrasing,etc/qrserver/didyoumean/antiphrasing.xml'
11:41:09,809 DEBUG ConfigurationServiceImpl
esp.adminserver.password='****'
11:41:09,809 DEBUG ConfigurationServiceImpl
esp.host='[servername]'
11:41:09,809 DEBUG ConfigurationServiceImpl
esp.adminserver.downloadarea='downloads'
11:41:09,809 DEBUG ConfigurationServiceImpl
esp.adminserver.deployment.clearCollectionTimeout='10800000'
11:41:09,809 DEBUG ConfigurationServiceImpl
postgresql.user='fast'
11:41:09,809 DEBUG ConfigurationServiceImpl
esp.adminserver.context='adminserver'
11:41:09,810 DEBUG ConfigurationServiceImpl
postgresql.pass='fast'
11:41:09,810 DEBUG ConfigurationServiceImpl
esp.adminserver.deployment.subsystems='indexing'
11:41:09,810 DEBUG ConfigurationServiceImpl
esp.home='c:/esp' (overridden by System property: 'c:\esp')
11:41:09,810 DEBUG ConfigurationServiceImpl
crawlerservice.postgresql.port='16070'
11:41:09,810 DEBUG ConfigurationServiceImpl
esp.adminserver.deployment.waitforcompleted='true'
11:41:09,811 DEBUG ConfigurationServiceImpl
sfe.qrservers='[servername]:15100'
11:41:09,812 DEBUG ConfigurationServiceImpl
crawlerservice.postgresql.host='[servername]'
11:41:09,812 DEBUG ConfigurationServiceImpl
esp.adminserver.deployment.blisspath='bin\bliss-core.exe'
11:41:09,812 DEBUG ConfigurationServiceImpl
esp.adminserver.username='admin'
11:41:09,813 DEBUG ConfigurationServiceImpl
nameservice.port='16099'
11:41:09,813 DEBUG ConfigurationServiceImpl
sfe.relative.resource.path=''
11:41:09,813 DEBUG ConfigurationServiceImpl
postgresql.port='16070'
11:41:09,814 DEBUG ConfigurationServiceImpl
esp.adminserver.port='16089'
11:41:09,814 DEBUG ConfigurationServiceImpl
esp.mailserver.port='25'
11:41:09,814 DEBUG ConfigurationServiceImpl
nameservice.host='[servername]'
11:41:09,814 DEBUG ConfigurationServiceImpl
esp.adminserver.deployment.defaultpipeline='scopesearch'
11:41:09,814 DEBUG ConfigurationServiceImpl
esp.adminserver.dictonary.compile.internal.limit='0'
11:41:09,815 DEBUG ConfigurationServiceImpl
postgresql.host='[servername]'
11:41:09,816 DEBUG ConfigurationServiceImpl
esp.adminserver.host='[servername]'
11:41:09,816 DEBUG ConfigurationServiceImpl
esp.mailserver.host=''
11:41:09,816 DEBUG ConfigurationServiceImpl
ConfigurationServiceImpl[web context:false, 30 properties <= [] + esp4j.main.properties.url:etc/esp4j.properties, esp4j.app.properties.url:, using com.fastsearch.esp.admin.util.ESPAwareResourceLoader[[file:///c:/esp/etc/dtd,
file:///c:/esp/index-profiles,
file:///c:/esp, file:///c:/esp/etc], applicationContext:org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=18248114]]: Properties printout done.
11:41:09,894 INFO CollectionFactory
Commons Collections 3.x available
11:41:09,918 INFO ClassPathXmlApplicationContext
Unable to locate MessageSource with name 'messageSource': using default [[email protected]0c]
11:41:09,922 INFO ClassPathXmlApplicationContext
Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@ba5bdb]
11:41:09,926 INFO DefaultListableBeanFactory
Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans
[resourceLoader,propertiesLoader,configurationService,esp4jProperties,exceptionSentry,stateStorage,executor,login,remoteAuthenticationService,managedQueriesService,boostsAndBlocksService,dictionaryService,spelltuningService,collectionSer
vice,indexerControlService,indexProfileService,blissService,viewService,searchDispatcherService,deploymentManagerService,queryStatisticsService,watchedQueriesService,rankProfileService,presentationService,userManagementService,searchProf
ileService,statusService,productInfoService,mailSenderService,nodeService,echoService,usageReportingService,documentStatusService,dictMan]; root of BeanFactory hierarchy]
11:41:09,927 INFO DefaultListableBeanFactory
Creating shared instance of singleton bean 'exceptionSentry'
11:41:09,935 INFO DefaultListableBeanFactory
Creating shared instance of singleton bean 'stateStorage'
11:41:09,944 INFO DefaultListableBeanFactory
Creating shared instance of singleton bean 'executor'
11:41:10,084 INFO DefaultListableBeanFactory
Creating shared instance of singleton bean 'login'
11:41:10,092 INFO DefaultListableBeanFactory
Creating shared instance of singleton bean 'remoteAuthenticationService'
11:41:10,409 INFO DefaultAopProxyFactory
CGLIB2 available: proxyTargetClass feature enabled
11:41:10,452 INFO DefaultListableBeanFactory
Creating shared instance of singleton bean 'dictMan'
11:41:10,453 INFO DefaultListableBeanFactory
Creating shared instance of singleton bean 'dictionaryService'
11:41:10,636 DEBUG DictMan
Setting dictionary service HTTP invoker proxy for service URL [http://[servername]:16089/adminserver/dictionaryService.esp]
11:41:10,650 DEBUG ContextHelper
ContextHelper[[esp4j-core-context.xml, esp4j-remote-client-context.xml, esp4j-remote-admin-context.xml, esp4jtool-dictman-context.xml] -> 34 beans] goes looking for requiredclass interface
com.fastsearch.esp.admin.RemoteAuthenticationService, default value = null
11:41:10,651 DEBUG ContextHelper
ContextHelper[[esp4j-core-context.xml, esp4j-remote-client-context.xml, esp4j-remote-admin-context.xml, esp4jtool-dictman-context.xml] -> 34 beans] found single bean named 'remoteAuthenticationService' of class interface
com.fastsearch.esp.admin.RemoteAuthenticationService: HTTP invoker proxy for service URL [http://[servername]:16089/adminserver/remoteAuthenticationService.esp]
11:41:10,655 DEBUG OptionsFacade
Parsing command line
[esp4jtool-dictman, --debug]
against options:
[password, baseport, port, debug, hostname, version, help, verbose, user name]
11:41:10,655 DEBUG OptionsFacade
Parsed 1 options
11:41:10,659 DEBUG ContextHelper
ContextHelper[[esp4j-core-context.xml, esp4j-remote-client-context.xml, esp4j-remote-admin-context.xml, esp4jtool-dictman-context.xml] -> 34 beans] goes looking for requiredclass interface
com.fastsearch.esp.admin.engine.auth.ClientAuthenticationMechanism, default value = ConsoleAuthentication[user:null]
11:41:10,660 DEBUG ContextHelper
Bean 'null' of type 'interface com.fastsearch.esp.admin.engine.auth.ClientAuthenticationMechanism' not found. Using default bean 'ConsoleAuthentication[user:null]
11:41:10,660 DEBUG ContextHelper
ContextHelper[[esp4j-core-context.xml, esp4j-remote-client-context.xml, esp4j-remote-admin-context.xml, esp4jtool-dictman-context.xml] -> 34 beans] found single bean named 'null' of class interface
com.fastsearch.esp.admin.engine.auth.ClientAuthenticationMechanism: ConsoleAuthentication[user:null]
11:41:10,660 DEBUG ESPClientAuthenticationHelper
ClientAuthenticationMechanism ProgrammaticAuthentication[Last authenticated:null] failed
11:41:10,660 DEBUG CommandLineArgumentsAuthentication
CommandLineArgumentsAuthentication[null] found no username in
org.apache.commons.cli.CommandLine@1860038
11:41:10,661 DEBUG ESPClientAuthenticationHelper
ClientAuthenticationMechanism CommandLineArgumentsAuthentication[null] failed
11:41:10,661 DEBUG ESPClientAuthenticationHelper
ClientAuthenticationMechanism ProgrammaticAuthentication[Last authenticated:admin] succeeded.
11:41:10,661 DEBUG ContextHelper
ContextHelper[[esp4j-core-context.xml, esp4j-remote-client-context.xml, esp4j-remote-admin-context.xml, esp4jtool-dictman-context.xml] -> 34 beans] goes looking for class interface com.fastsearch.esp.admin.engine.auth.Login, default
value = null
11:41:10,666 DEBUG ContextHelper
ContextHelper[[esp4j-core-context.xml, esp4j-remote-client-context.xml, esp4j-remote-admin-context.xml, esp4jtool-dictman-context.xml] -> 34 beans] found single bean named 'null' of class interface
com.fastsearch.esp.admin.engine.auth.Login: AcegiTokenLogin[Last logged in:null]
11:41:10,719 DEBUG ESPHttpInvokerRequestExecutor
Sending HTTP invoker request for service at [http://[servername]:16089/adminserver/remoteAuthenticationService.esp], with size 270
11:41:10,818 DEBUG ESPHttpInvokerRequestExecutor
HttpInvocation now presenting via BASIC authentication ContextHolder-derived:
net.sf.acegisecurity.providers.UsernamePasswordAuthenticationToken@105691e: Username: admin; Password: [PROTECTED]; Authenticated: false; Details: null; Not
granted any authorities
11:41:11,088 DEBUG Rewirer
Invoking public void no.fast.esp.tools.dictman.DictMan.setDictionaryService(com.fastsearch.esp.admin.DictionaryService) on DictMan[properties:null file:null local:false execute:null properties:null] with args [HTTP invoker proxy for
service URL [http://[servername]:16089/adminserver/dictionaryService.esp]]
11:41:11,088 DEBUG DictMan
Setting dictionary service HTTP invoker proxy for service URL [http://[servername]:16089/adminserver/dictionaryService.esp]
11:41:11,088 DEBUG Rewirer
Injected service HTTP invoker proxy for service URL [http://[servername]:16089/adminserver/dictionaryService.esp] into object DictMan[properties:null file:null local:false execute:null properties:null]
11:41:11,088 INFO DefaultListableBeanFactory
Creating shared instance of singleton bean 'spelltuningService'
11:41:11,093 DEBUG Rewirer
Invoking public void no.fast.esp.tools.dictman.DictMan.setSpelltuningService(com.fastsearch.esp.admin.SpelltuningService) on DictMan[properties:null file:null local:false execute:null properties:null] with args [HTTP invoker proxy for
service URL [http://[servername]:16089/adminserver/spelltuningService.esp]]
11:41:11,093 DEBUG Rewirer
Injected service HTTP invoker proxy for service URL [http://[servername]:16089/adminserver/spelltuningService.esp] into object DictMan[properties:null file:null local:false execute:null properties:null]
11:41:11,093 DEBUG ESPClientContainer
About to run main DictMan[properties:null file:null local:false execute:null properties:null] in host mode, passing arguments [esp4jtool-dictman]
command (? for help)> with ld ru
command = 'with ld ru' ... execute 'with ld ru'
using <name>=ru, <type>=LEMMATIZATION(LD)
command (? for help)> compileblocking
command = 'compileblocking' ... execute 'compileblocking'
11:41:32,850 DEBUG ESPHttpInvokerRequestExecutor
Sending HTTP invoker request for service at [http://[servername]:16089/adminserver/dictionaryService.esp], with size 559
starting compilation of '[LEMMATIZATION(LD),ru]' . Can take a while ...
11:41:36,146 DEBUG ESPHttpInvokerRequestExecutor
Sending HTTP invoker request for service at [http://[servername]:16089/adminserver/dictionaryService.esp], with size 2202
java.lang.reflect.InvocationTargetExceptionERROR: java.lang.RuntimeException: java.lang.RuntimeException: dj exited with value: 1
Restart dictMan with --debug option to find out more about details
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 com.fastsearch.esp.tools.dictman.io.CLICommand.execute(CLICommand.java:83)
at no.fast.esp.tools.dictman.DictManCommandHandler.executeCommand(DictManCommandHandler.java:517)
at no.fast.esp.tools.dictman.DictMan.cliCommand(DictMan.java:309)
at no.fast.esp.tools.dictman.DictMan.main(DictMan.java:225)
at com.fastsearch.esp.admin.engine.ESPClientContainer.runMain(ESPClientContainer.java:622)
at com.fastsearch.esp.admin.engine.ESPClientContainer.run(ESPClientContainer.java:575)
at com.fastsearch.esp.admin.engine.ESPClientContainer.open(ESPClientContainer.java:439)
at com.fastsearch.esp.admin.engine.ESPHost.host(ESPHost.java:89)
at com.fastsearch.esp.admin.engine.ESPHost.host(ESPHost.java:73)
at com.fastsearch.esp.admin.engine.ESPHost.main(ESPHost.java:105)
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.launcher.ChildMain.run(ChildMain.java:228)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: dj exited with value: 1
at no.fast.vespa.services.DictionaryServiceImpl.compileWithDj(DictionaryServiceImpl.java:843)
at no.fast.vespa.services.DictionaryServiceImpl.syncompileExternal(DictionaryServiceImpl.java:852)
at no.fast.vespa.services.DictionaryServiceImpl.syncompile(DictionaryServiceImpl.java:791)
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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:288)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:51)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:53)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at com.fastsearch.esp.admin.engine.monitoring.ScopeInterceptor.invoke(ScopeInterceptor.java:29)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:53)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)
at $Proxy31.syncompile(Unknown Source)
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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:288)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
at org.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceInterceptor.java:68)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)
at $Proxy31.syncompile(Unknown Source)
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.springframework.remoting.support.RemoteInvocation.invoke(RemoteInvocation.java:179)
at org.springframework.remoting.support.DefaultRemoteInvocationExecutor.invoke(DefaultRemoteInvocationExecutor.java:33)
at org.springframework.remoting.support.RemoteInvocationBasedExporter.invoke(RemoteInvocationBasedExporter.java:71)
at org.springframework.remoting.support.RemoteInvocationBasedExporter.invokeAndCreateResult(RemoteInvocationBasedExporter.java:107)
at org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter.handleRequest(HttpInvokerServiceExporter.java:80)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625)
at org.springframework.web.servlet.FrameworkServlet.serviceWrapper(FrameworkServlet.java:386)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:355)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:292)
at net.sf.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:84)
at net.sf.acegisecurity.intercept.web.SecurityEnforcementFilter.doFilter(SecurityEnforcementFilter.java:182)
at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303)
at net.sf.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:206)
at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303)
at net.sf.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:225)
at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303)
at net.sf.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:173)
at net.sf.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:125)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:75)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
command (? for help)>
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.RuntimeException: dj exited with value: 1
at no.fast.vespa.services.DictionaryServiceImpl.compileWithDj(DictionaryServiceImpl.java:830)
... 78 more
command = '' ... execute ''
command (? for help)>
How to resolve this error? How to add Russian language support? Is there a bugfix for Linguistics studio?Hi Edgars,
The cause of this issue is that the Russian lemmatization dictionary is too large for ESP to actually handle and deploy.
In your output below is the following:
java.lang.reflect.InvocationTargetExceptionERROR: java.lang.RuntimeException: java.lang.RuntimeException: dj exited with value: 1
We are aware of this issue, and have discussed this with our R&D team. There is a work around for all customers that do not customize tokenization/normalization or the content of the lemmatization dictionary in installing the ESP 5.0 dictionaries
that are shipped as compiled automata files.
To work around this issue, the ALS package, ALS_esp53_Russian_1_1_all, was created and released. However, this workaround will not allow you to edit the contents of the lemmatization dictionary. The workaround steps are as follows:
1. Uncheck all forms of speech for lemmatization.
2. Let Linguistics Studio deploy the dictionaries.
3. Note the error indicating the dictionaries were not properly applied.
4. Clicked the project in Linguistics Studio again and clicked the "deploy to ESP". This will run through the deployment, placed the spellcheck and antiphrase dictionaries on the ESP system.
5. Manually copy the lemmatization .aut files to the %FASTSEARCH$\resources\dictionaries\lemmatization\ directory.
These steps will allow you to edit all of the dictionaries, except for the lemmatization dictionaries.
We realize this is an important issue. Unfortunately, the workaround is the only way to address this issue. When considering the options around fixing the issue, it was found that this would entail a complete re-working the automaton compilation
process, and could introduce a high risk of regressions for all search environments.
Thanks!
Rob Vazzana | Sr Support Escalation Engineer | US Customer Service & Support
Customer Service & Support
Microsoft|
Services -
Is there possible to use Business Components for Java in Java/Swing applications without using any kind of application server?
Yes. You just deploy your business components as a simple archive (JAR file). Your business components JAR file is then deployed to the client along with your ADF Swing JAR file. You will also have to deploy the ADF Runtime libraries to the client as well. The easiest way to deploy the standalone application is using Java Webstart. JDeveloper supports Webstart as a deployment method for ADF Swing applications. Unfortunately, there are some manual things that you have to do to package Oracle's ADF runtime libraries to do this, however. You can find the steps in this document: http://www.oracle.com/technology/products/jdev/collateral/papers/10g/adfjclientbcwebstart.pdf
Hopefully, Oracle will simplify this process in a future version of JDeveloper.
Hope this helps. -
Second-party software problem? Firefox language support?
Please reply if you can help: CJ Hinke <[email protected]>
Installed Leopard and only reinstalled the latest versions of second-party software. Did away with MS Office and Adobe CS3. First primary problem logged: suddenly Firefox can't read Thai language (all Thai characters replaced with question marks)--has anyone else had language support disappear?
SMARTreporter gives a green light to the hardware.
Applications both native Apple and second party keep crashing on launch. Appended below is a partial copy of the Bug Report. All appl crashes seem to hinge on the following problem:
Exception Type: EXCBADACCESS (SIGBUS)
Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000000007
Crashed Thread: 0
Often I can keep relaunching until the appl 'takes'. I'm getting royally tired of this and of deleting my caches over & over (which doesn't work nearly every time). TextEdit, Safari, Quicktime, Terminal, System Preferences, Disk Utility have crashed (and one or two others), not every time but sometimes; so have non-Apple appls: Wired Client, VLC. Even 'Reset' Safari to no apparent improvement. Don't use Dashboard & all my widgets still seem to be there.
On the Apple side, I have installed iLife and iWork '08 which I use as alternatives to MS.
Non-Apple, I use:
Acrobat 8
StuffIt 12
Toast 8.0.1
VLC
EPSON Scan (haven't tried it yet)
SMARTreporter 2.3.2
MenuMeters (menubar item to display network connection, IP, etc.)
Growl
GrowlDict
GrowlTunes
HardwareGrowler
Set to open on Start-up:
DragThing 5.6.4 (layered dock alternative I really like)
Time Palette 5.7.7 (selected cities time display I really like)
Meteorologist (displays weather for several cities)
Desktility (saves & restores icon positions on Desktop for my many disks)
Internet stuff I use regularly:
Transmission (BT P2P client)
Speed Download (d/l manager)
Wired Client (connects to a remote server)
Fetch (FTP client, haven't tried it yet)
Unison (Usenet, haven't tried it yet)
All are latest versions with only a few exceptions and all were mostly trouble-free in Tiger. This seems like a pretty light list.
In Tiger, occasionally my browser wouldn't connect to a common site, say, Google or The New York Times. Continuing to do this in Leopard. And now it's harder to get things running just by deleting the caches (over & over). Couldn't even send numerous bug reports to Apple!
(A little background about my 'net connection might be in order here. In my neighbourhood, I can't buy more than 512kbps--more than four kms from the switch, I'm told. Often my actual speed is more like 56k dial-up. Could the slow speeds be part of the problem?)
Really wish I hadn't 'upgraded'! I'm beginning to think Apple is using us as beta testers for a system that wasn't a stable release yet. I'm seriously considering reinstalling Tiger--don't see any other solution. Or perhaps Leopard just wasn't intended for PPCs. I'm having as much difficulty as with the anteDeluvian OS 9!
My intuition as a non-geek but Mac user since 1984 that conflicts with Safari are at the root of these problems. I have now uninstalled almost all second-party software and will reinstall one-by-one as I need to use it to find out if there's one culprit among them.
Rots of ruck!
CJ
Process: Preview [225]
Path: /Applications/Preview.app/Contents/MacOS/Preview
Identifier: com.apple.Preview
Version: 4.0 (469)
Build Info: Preview-4690000~1
Code Type: PPC (Native)
Parent Process: launchd [64]
Date/Time: 2007-11-11 16:59:41.863 +0700
OS Version: Mac OS X 10.5 (9A581)
Report Version: 6
Exception Type: EXCBADACCESS (SIGBUS)
Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000000007
Crashed Thread: 0
Thread 0 Crashed:
0 com.apple.CoreFoundation 0x94f722c0 CFMachPortSetInvalidationCallBack + 0
1 ??? 0xfffffffc 0 + -4
2 com.apple.LaunchServices 0x930d88f4 _LSDoSignalApplicationReady + 128
3 com.apple.LaunchServices 0x930d885c _LSSignalApplicationReady + 136
4 com.apple.HIServices 0x94032a94 _SignalApplicationReady + 68
5 com.apple.HIToolbox 0x96021cec _FirstEventTime + 448
6 com.apple.HIToolbox 0x960219ec RunCurrentEventLoopInMode + 64
7 com.apple.HIToolbox 0x96021840 ReceiveNextEventCommon + 260
8 com.apple.HIToolbox 0x96021718 BlockUntilNextEventMatchingListInMode + 84
9 com.apple.AppKit 0x91dce7a0 _DPSNextEvent + 580
10 com.apple.AppKit 0x91dce1f0 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 112
11 com.apple.AppKit 0x91dc7eac -[NSApplication run] + 736
12 com.apple.AppKit 0x91d9892c NSApplicationMain + 440
13 com.apple.Preview 0x00002620 start + 64
Thread 0 crashed with PPC Thread State 32:
srr0: 0x94f722c0 srr1: 0x0000f030 dar: 0x00000007 dsisr: 0x40000000
r0: 0x007dd180 r1: 0xbfffeb50 r2: 0xa0a225f0 r3: 0x00000000
r4: 0x007dd0a4 r5: 0x00000002 r6: 0x000031ed r7: 0x00000001
r8: 0x001fc080 r9: 0x0006d5a0 r10: 0x000e5004 r11: 0x42000248
r12: 0x94f722c0 r13: 0x00000000 r14: 0xffffffff r15: 0xbffff558
r16: 0xbffff134 r17: 0xbffff104 r18: 0xa044e564 r19: 0x00132f00
r20: 0xbffff640 r21: 0xa040e564 r22: 0x00119b30 r23: 0x0000002c
r24: 0xbfffeda8 r25: 0x0000003c r26: 0x00004203 r27: 0x007dd46c
r28: 0xa0a20000 r29: 0x007e0000 r30: 0x00000003 r31: 0x930d887c
cr: 0x44000242 xer: 0x00000007 lr: 0x007dd190 ctr: 0x94f722c0
vrsave: 0x00000000gPlease reply if you can help: CJ Hinke <[email protected]>
Installed Leopard and only reinstalled the latest versions of second-party software. Did away with MS Office and Adobe CS3. First primary problem logged: suddenly Firefox can't read Thai language (all Thai characters replaced with question marks)--has anyone else had language support disappear?
SMARTreporter gives a green light to the hardware.
Applications both native Apple and second party keep crashing on launch. Appended below is a partial copy of the Bug Report. All appl crashes seem to hinge on the following problem:
Exception Type: EXCBADACCESS (SIGBUS)
Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000000007
Crashed Thread: 0
Often I can keep relaunching until the appl 'takes'. I'm getting royally tired of this and of deleting my caches over & over (which doesn't work nearly every time). TextEdit, Safari, Quicktime, Terminal, System Preferences, Disk Utility have crashed (and one or two others), not every time but sometimes; so have non-Apple appls: Wired Client, VLC. Even 'Reset' Safari to no apparent improvement. Don't use Dashboard & all my widgets still seem to be there.
On the Apple side, I have installed iLife and iWork '08 which I use as alternatives to MS.
Non-Apple, I use:
Acrobat 8
StuffIt 12
Toast 8.0.1
VLC
EPSON Scan (haven't tried it yet)
SMARTreporter 2.3.2
MenuMeters (menubar item to display network connection, IP, etc.)
Growl
GrowlDict
GrowlTunes
HardwareGrowler
Set to open on Start-up:
DragThing 5.6.4 (layered dock alternative I really like)
Time Palette 5.7.7 (selected cities time display I really like)
Meteorologist (displays weather for several cities)
Desktility (saves & restores icon positions on Desktop for my many disks)
Internet stuff I use regularly:
Transmission (BT P2P client)
Speed Download (d/l manager)
Wired Client (connects to a remote server)
Fetch (FTP client, haven't tried it yet)
Unison (Usenet, haven't tried it yet)
All are latest versions with only a few exceptions and all were mostly trouble-free in Tiger. This seems like a pretty light list.
In Tiger, occasionally my browser wouldn't connect to a common site, say, Google or The New York Times. Continuing to do this in Leopard. And now it's harder to get things running just by deleting the caches (over & over). Couldn't even send numerous bug reports to Apple!
(A little background about my 'net connection might be in order here. In my neighbourhood, I can't buy more than 512kbps--more than four kms from the switch, I'm told. Often my actual speed is more like 56k dial-up. Could the slow speeds be part of the problem?)
Really wish I hadn't 'upgraded'! I'm beginning to think Apple is using us as beta testers for a system that wasn't a stable release yet. I'm seriously considering reinstalling Tiger--don't see any other solution. Or perhaps Leopard just wasn't intended for PPCs. I'm having as much difficulty as with the anteDeluvian OS 9!
My intuition as a non-geek but Mac user since 1984 that conflicts with Safari are at the root of these problems. I have now uninstalled almost all second-party software and will reinstall one-by-one as I need to use it to find out if there's one culprit among them.
Rots of ruck!
CJ
Process: Preview [225]
Path: /Applications/Preview.app/Contents/MacOS/Preview
Identifier: com.apple.Preview
Version: 4.0 (469)
Build Info: Preview-4690000~1
Code Type: PPC (Native)
Parent Process: launchd [64]
Date/Time: 2007-11-11 16:59:41.863 +0700
OS Version: Mac OS X 10.5 (9A581)
Report Version: 6
Exception Type: EXCBADACCESS (SIGBUS)
Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000000007
Crashed Thread: 0
Thread 0 Crashed:
0 com.apple.CoreFoundation 0x94f722c0 CFMachPortSetInvalidationCallBack + 0
1 ??? 0xfffffffc 0 + -4
2 com.apple.LaunchServices 0x930d88f4 _LSDoSignalApplicationReady + 128
3 com.apple.LaunchServices 0x930d885c _LSSignalApplicationReady + 136
4 com.apple.HIServices 0x94032a94 _SignalApplicationReady + 68
5 com.apple.HIToolbox 0x96021cec _FirstEventTime + 448
6 com.apple.HIToolbox 0x960219ec RunCurrentEventLoopInMode + 64
7 com.apple.HIToolbox 0x96021840 ReceiveNextEventCommon + 260
8 com.apple.HIToolbox 0x96021718 BlockUntilNextEventMatchingListInMode + 84
9 com.apple.AppKit 0x91dce7a0 _DPSNextEvent + 580
10 com.apple.AppKit 0x91dce1f0 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 112
11 com.apple.AppKit 0x91dc7eac -[NSApplication run] + 736
12 com.apple.AppKit 0x91d9892c NSApplicationMain + 440
13 com.apple.Preview 0x00002620 start + 64
Thread 0 crashed with PPC Thread State 32:
srr0: 0x94f722c0 srr1: 0x0000f030 dar: 0x00000007 dsisr: 0x40000000
r0: 0x007dd180 r1: 0xbfffeb50 r2: 0xa0a225f0 r3: 0x00000000
r4: 0x007dd0a4 r5: 0x00000002 r6: 0x000031ed r7: 0x00000001
r8: 0x001fc080 r9: 0x0006d5a0 r10: 0x000e5004 r11: 0x42000248
r12: 0x94f722c0 r13: 0x00000000 r14: 0xffffffff r15: 0xbffff558
r16: 0xbffff134 r17: 0xbffff104 r18: 0xa044e564 r19: 0x00132f00
r20: 0xbffff640 r21: 0xa040e564 r22: 0x00119b30 r23: 0x0000002c
r24: 0xbfffeda8 r25: 0x0000003c r26: 0x00004203 r27: 0x007dd46c
r28: 0xa0a20000 r29: 0x007e0000 r30: 0x00000003 r31: 0x930d887c
cr: 0x44000242 xer: 0x00000007 lr: 0x007dd190 ctr: 0x94f722c0
vrsave: 0x00000000g -
Language support by NLS_CHARACTERSET:AL32UTF8
Hi,
I have very less idea about the multiple language support in oracle database.
select * from nls_database_parameters where parameter like '%CHARACTERSET';
It returns me:
NLS_CHARACTERSET AL32UTF8
NLS_NCHAR_CHARACTERSET AL16UTF16
SELECT * FROM NLS_SESSION_PARAMETERS;
It returns me:
PARAMETER VALUE
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
Can you tell me,according to the above configuration,what languages will be supported by this database(oracle 10g)?
I would need to store german,japanese,chinese and etc...Is it possible to do so?
Can the change in the database setting help me to achieve inserting as well as retrieving data in numerous languages?Then what is the change that needs to be made.I don't want any junk values like inverted question mark during retrieval.
Can anyone please help?
Thanks a lot in advance.The NLS_CHARACTERSET setting of AL32UTF8 means that the database supports Unicode. So you can store virtually any character from any language in a CHAR or VARCHAR2 column in the database.
Retrieving and displaying the characters, as well as providing a GUI to enter the data properly, depends on client and application settings. For example, my operating system (an English language version of Windows) doesn't support Chinese characters using the default code page. So if I queried Chinese data that was properly stored in the database in SQL*Plus, the conversion would fail. You would need an application that had native support for Unicode (i.e. iSQL*Plus, many/most browser based apps, etc). On the other hand, a user of the Chinese language version of Windows would be able to query that same data via SQL*Plus because that version of Windows supported the necessary characters in the default code page. In order for that to happen, though, the Chinese client's NLS_LANG would have to be set in order to convert the characters from Unicode to the client's default code page.
Justin -
Traditional chinese language support for pearl flip 8220?
I just got a pearl flip from T-Mobile. I'm happy with most features, however, there is no Chinese language support whatsoever. All the Chinese characters show up as black boxes. Anyone know of any fixes so that I can read and input Chinese (traditional Chinese)?
Solved!
Go to Solution.Your device OS does not support chinese symbols.
Ask your wireless provider for a multi-language device OS that supports chinese characters.
Otherwise - check a chinese wireless provider for device OS. But note that your wireless provider disfavor use of device os from another wireless providers.
If you decide to use OS from another wireless provider - use OS exactly for your device model.
Install OS package on your desktop computer. After that delete Vendor.xml file from installed files on your desktop PC.
Connect your device to the computer and update device OS via Blackberry Desktop Manager/Application Loader.
Maybe you are looking for
-
How to get input from BARCODE Reader
using oracle forms builder...........in form text box
-
Problem with tabbing down lists
Hi, I answer a lot of surveys, and have noticed that when tabbing down a list of selections with circular radio buttons, many of the items get skipped. I have to use the mouse to click these selections. But when I'm tabbing down a list of square-shap
-
Icc profiles and optimum resolution
hi all, i am interested in these iphoto books, but was curious if anyone had found a profile for the books so that images could be soft proofed beforehand in photoshop? i was also wondering if anyone had found what is the optimum resolution for these
-
Reg: Removing duplicates in MDM result set Iview.
Hi All, I am using a standard result set iview. Is it possible to remove the duplicates in this iview? For eg: If i am displaying names in the result set iview, if the same name comes second time,that should not be considered or displayed on the resu
-
I originally created two objects and masked one over the other (using clipping mask). And I have already saved the file and re-opened it. For now, I would like to remove the mask object. I tried by deleting the mask, but then the remaining object w