Jun Hong

Ranch Hand
+ Follow
since Sep 05, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jun Hong

Put A and B together and make it C application. The fact that A and B share some non JDK classes and they are on the same server makes them one application.
21 years ago
Looks like you are using DB2 as your repository database and since admin server cannot access it the start up of admin server failed. Check admin.config file and make sure the configuration for repository database is right. Also make sure DB2 is running.
21 years ago
Here is the Exception:
29> [2002-06-12 20:37:35.844], [ServerID: -1], [VaultImpl.get_security_context]:
JSAS0170E: Null session handle in session table. Check to see if a server process has terminated just prior to re
ceiving these errors. If a process has terminated, restart the process and retry the operation. Verify that the client
userid/password is valid. If the login fails, the session will be deleted on the client side and the credentials will
be marked invalid. If a retry occurs, you will likely see this error. Restart the client program after verifying the l
ogin info. If the errors persist, contact support for assistance.
30> [2002-06-12 20:37:35.872], [ServerID: -1], [SecureInvocationInterceptorImpl.receive_response_message]:
JSAS0150E: Unable to find session in session table. Retry the operation. If the error repeats itself, restart th
e client program. Check the client properties to ensure the login information is correct. If after restarting the clie
nt and server programs, you still are unable to eliminate the error, contact support for assistance.
32> [2002-06-12 20:37:35.888], [ServerID: -1], [VaultImpl.get_security_context]:
JSAS0170E: Null session handle in session table. Check to see if a server process has terminated just prior to re
ceiving these errors. If a process has terminated, restart the process and retry the operation. Verify that the client
userid/password is valid. If the login fails, the session will be deleted on the client side and the credentials will
be marked invalid. If a retry occurs, you will likely see this error. Restart the client program after verifying the l
ogin info. If the errors persist, contact support for assistance.
Exception thrown in getDQEResultsInBinary: java.rmi.RemoteException: CORBA INTERNAL 0 No; nested exception is:
org.omg.CORBA.INTERNAL: Unexpected Java Exception: org.omg.CORBA.INTERNAL: Unexpected Java Exception: org.omg.CO
RBA.NO_PERMISSION: Failed mutual authentication handshake. Session does not exist in the session table. minor code: 0
completed: No minor code: 0 completed: No minor code: 0 completed: No
49> [2002-06-13 00:29:08.835], [ServerID: -1], [VaultImpl.get_security_context]:
JSAS0170E: Null session handle in session table. Check to see if a server process has terminated just prior to re
ceiving these errors. If a process has terminated, restart the process and retry the operation. Verify that the client
userid/password is valid. If the login fails, the session will be deleted on the client side and the credentials will
be marked invalid. If a retry occurs, you will likely see this error. Restart the client program after verifying the l
ogin info. If the errors persist, contact support for assistance.
21 years ago
Hi guys,
I have a java client accessing stateless session bean. If the processing time on session bean side is longer than 2 hours, my client cannot get the reponse from application server. The Exception is related to session table. It is not CORBA request timeout(in sas.client.props) I know it. From logging, I know session bean finished processing in 2 hours and the when the client got the response from application server Exception happened. Does anyone have any idea what happened? By the way, it is not related to token timeout (security).
21 years ago
Hi guys,
I got an Exception:
End event threw exception
java.lang.IllegalArgumentException: argument type mismatch
Does anybody know the cause of this Exception?
Jun Hong
I start an application server and I have two applications on my application server. One is a servlet and the other is a EJB application. I think the application server knows to start EJB application first and then it will start servlet application. My servlet uses the EJB application, if the application server start servlet application first and it cannot find the EJB, it run into problem. Does anybody know the details?
21 years ago
Hi there,
Thank you for your message. I am using the connection pool from oracle thin driver. Now I start to think that the connection pool which is maintained by datasource can take care of itself. If database restarts, connection pool refresh itself. (This means some code is check the pool constantly with some time intervals. Perhaps, the connection pool will be refreshed when an staled connection Exception is thrown)
Several months ago, I was using WebSphere 4.0 and the connection pool is provided by WebSphere. Behind the sceen, it is just a Oracle thin driver connection pool. Since that one was fine in the weekends. My new pool should be fine.
However, I am still not sure. My current application throw broken pipe SQLException on a Sunday. I am suspicious that people restarted Oracle server when that happens. Last weekend, it did not happen again.
The stuff you mentioned is more related to the implementation of connection pool. How to check whether it is valid. I guess.
Hi guys,
I have a Java application which maintains a connection pool to Oracle database through Oracle thin driver. If somebody restart Oracle database, the connection pool is no longer valid. What can I do when somebody restart database?
I have a question about how to handle namespaces in XML and XSLT. If I have namespaces in XML what will happen to XSLT?
Say if I have xml looks like this:
<?xml version="1.0"?>
<?CMFToolkit version="v4.9"?>
<InstrumentMessageContainer xmlns="com.ubs.cmf.cmm.v2_1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="I1">
<dataContainer xsi:type="InstrumentDataContainer" id="I2">
How can I handle xmlns and xsi. Say if I want to write a template which will take those attributes in InstrumentMessageContainer tag and put it into result xml, what should I do?
I tried this and it doesn't work.
<xsl:template match="/">
<xsl:apply-templates select="InstrumentMessageContainer"/>
</xsl:template>

<xsl:template match="InstrumentMessageContainer">
<InstrumentMessageContainer xmlns:xsi="{@xmlns:xsi}">
<xsl:apply-templates select="dataContainer"/>
</InstrumentMessageContainer>
</xsl:template>
If somebody know this, please help.
[ May 08, 2002: Message edited by: Jun Hong ]
I have a xml file and it looks like this:
<?xml version="1.0"?>
<?CMFToolkit version="v4.9"?>
<InstrumentMessageContainer xmln="com.ubs.cmf.cmm.v2_1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="I1">
<dataContainer xsi:type="InstrumentDataContainer" id="I2">
etc ......
when I use xsl to parse it, xmln="com.ubs.cmf.cmm.v2_1" will cause problem. If I change xmln="com.ubs.cmf.cmm.v2_1" to xmlnw="com.ubs.cmf.cmm.v2_1" it works fine.
My naive xsl looks like this:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:apply-templates select="InstrumentMessageContainer"/>
</xsl:template>

<xsl:template match="InstrumentMessageContainer">
<InstrumentMessageContainer xmlns:xsi="{@xmlns:xsi}">
<xsl:apply-templates select="dataContainer"/>
</InstrumentMessageContainer>
</xsl:template>

<xsl:template match="dataContainer">
<dataContainer xsi:type="{@type}" id="{@id}">
<xsl:apply-templates select="issue"/>
</dataContainer>
</xsl:template>
<xsl:template match="issue">
<issue xsi:type="Issue" id="I3">
<xsl:apply-templates select="instrumentId"/>
<xsl:apply-templates select="issueType"/>

<xsl:for-each select="issueDescriptions">
<issueDescriptions xsi:type="IssueDescriptions" id="{@id}">
<xsl:apply-templates select="descriptionUsage"/>
<xsl:apply-templates select="issueName"/>
</issueDescriptions>
</xsl:for-each>
<xsl:for-each select="marketIssueCharacteristics[financialMarket='XNYS']
| marketIssueCharacteristics[financialMarket='XASE']
| marketIssueCharacteristics[financialMarket='XNAS']">
<marketIssueCharacteristics xsi:type="MarketIssueCharacteristics" id="{@id}">
<xsl:apply-templates select="tradingStatus"/>
<xsl:apply-templates select="marketIssueCharOid"/>
<xsl:apply-templates select="tradingCurrency"/>
<xsl:apply-templates select="primaryTradingMarket"/>
<xsl:apply-templates select="financialMarket"/>
</marketIssueCharacteristics>
</xsl:for-each>

<xsl:for-each select="issueIdentifiers[financialMarket='XNYS']
| issueIdentifiers[financialMarket='XASE']
| issueIdentifiers[financialMarket='XNAS']">
<issueIdentifiers xsi:type="issueIdentifiers" id="{@id}">
<xsl:apply-templates select="issueId"/>
<xsl:apply-templates select="issueIdentifierOid"/>
<xsl:apply-templates select="issueIdContext"/>
<xsl:apply-templates select="financialMarket"/>
</issueIdentifiers>
</xsl:for-each>

<xsl:for-each select="issuer">
<xsl:copy-of select="."/>
</xsl:for-each>

</issue>
</xsl:template>

<xsl:template match="instrumentId">
<instrumentId>
<xsl:value-of select="."/>
</instrumentId>
</xsl:template>

<xsl:template match="issueType">
<issueType>
<xsl:value-of select="."/>
</issueType>
</xsl:template>

<xsl:template match="descriptionUsage">
<descriptionUsage>
<xsl:value-of select="."/>
</descriptionUsage>
</xsl:template>
<xsl:template match="issueName">
<issueName>
<xsl:value-of select="."/>
</issueName>
</xsl:template>
<xsl:template match="tradingStatus">
<tradingStatus>
<xsl:value-of select="."/>
</tradingStatus>
</xsl:template>
<xsl:template match="marketIssueCharOid">
<marketIssueCharOid>
<xsl:value-of select="."/>
</marketIssueCharOid>
</xsl:template>
<xsl:template match="tradingCurrency">
<tradingCurrency>
<xsl:value-of select="."/>
</tradingCurrency>
</xsl:template>
<xsl:template match="primaryTradingMarket">
<primaryTradingMarket>
<xsl:value-of select="."/>
</primaryTradingMarket>
</xsl:template>

<xsl:template match="financialMarket">
<financialMarket>
<xsl:value-of select="."/>
</financialMarket>
</xsl:template>
<xsl:template match="issueId">
<issueId>
<xsl:value-of select="."/>
</issueId>
</xsl:template>
<xsl:template match="issueIdentifierOid">
<issueIdentifierOid>
<xsl:value-of select="."/>
</issueIdentifierOid>
</xsl:template>

<xsl:template match="issueIdContext">
<issueIdContext>
<xsl:value-of select="."/>
</issueIdContext>
</xsl:template>
<xsl:template match="searchName">
<searchName>
<xsl:value-of select="."/>
</searchName>
</xsl:template>

<!-- <xsl:template match="nationalityCountryCode ">
<nationalityCountryCode >
<xsl:value-of select="."/>
</nationalityCountryCode >
</xsl:template> -->

</xsl:stylesheet>
If you know what is wrong, please help.
Thank you so much. I tried copy-of and it works. I do appreciate your help.
Is there a way to copy a node in source file to result file? I am using XSL to transform a source XML to a result XML. Most of my source nodes can be used as result nodes. Basically, I just remove some unrelated nodes and build the result tree. So I hope I can copy useful nodes direclty. Right now, I have to use template to copy tags, attributes, and texts one by one. I hope there is a function called copyNodeRecursively() to copy a node recursively for me. Because the child nodes of a node may change and templates are not dynamic, I really need this kind of function. Does it exit?
Hi guys,
Does anybody know the number of SCEAs on this planet? I heard it is about 300. Is this true? I thought there were thousands.
Currently the market is really bad. Certification is not very helpful.
Does somebody know WLM plug-in for Java client of EJB which is on clones. This WLM is use by client side ORB to access EJB. I read the red book but I cannot find the details about this WLM plug-in.
22 years ago