Pradeepta Bhattacharya

Greenhorn
+ Follow
since Mar 02, 2007
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 Pradeepta Bhattacharya

Please use bindings to convert your datatype at the time of code generation. You can pass the binding file as a binding parameter during code generation time. A Sample file is pasted below for your reference.

<?xml version="1.0" encoding="UTF-8" ?>
<jaxb:bindings
version="2.0"
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<jaxb:globalBindings>
<jaxb:javaType name="java.util.Calendar" xmlType="xs:dateTime"
parseMethod="javax.xml.bind.DatatypeConverter.parseDateTime"
printMethod="javax.xml.bind.DatatypeConverter.printDateTime"/>
<jaxb:javaType name="java.util.Calendar" xmlType="xs:time"
parseMethod="javax.xml.bind.DatatypeConverter.parseTime"
printMethod="javax.xml.bind.DatatypeConverter.printTime"/>
<jaxb:javaType name="java.util.Calendar" xmlType="xs:date"
parseMethod="javax.xml.bind.DatatypeConverter.parseDate"
printMethod="javax.xml.bind.DatatypeConverter.printDate"/>
<jaxb:serializable uid="1"/>
</jaxb:globalBindings>
</jaxb:bindings>
14 years ago
We are facing a very strange problem when external systems try to launch into our application which resides on a different web server.


Our application is using JSF 1.2 / Richfaces, and is deployed on WAS 6.1 and in order for other systems to launch into our application we expose a servlet which has some predefined parameters which the other systems call using a URL string with GET. The servlet gathers the parameter and initializes a bean with the parameters and forwards to a faces page(.xhtml) which calls a action to do the desired search.



The way that the external systems calls us is that they use window.open and pass the URL with the parameters for invoking the servlet.


The first few calls to the servlet works fine and the user is able to launch into our system, but usually after opening or launching into the application multiple times and then clicking on the link the window locks up and after long time "Cannot Find Server" page is displayed.



We have tried to check with different http tracer tools and it seems the call to the servlet doesn't even leave the box where the link is clicked. So we assume that somehow the window is locked up is unable to send the request to the servlet and after some time displays the "Page Not Found" page.


The client base using these servers are usually using Windows XP.


This is a real showstopper for the whole application.




Solutions investigated so far : http://support.microsoft.com/kb/555107/en-us
[ November 08, 2008: Message edited by: Bear Bibeault ]
15 years ago
We are facing a very strange problem when external systems try to launch into our application which resides on a different web server.

Our application is using JSF 1.2 / Richfaces, and is deployed on WAS 6.1 and in order for other systems to launch into our application we expose a servlet which has some predefined parameters which the other systems call using a URL string with GET. The servlet gathers the parameter and initializes a bean with the parameters and forwards to a xhtml which calls a action to do the desired search.

The way that the external systems calls us is that they use window.open and pass the URL with the parameters for invoking the servlet.

The first few calls to the servlet works fine and the user is able to launch into our system, but usually after opening or launching into the application multiple times and then clicking on the link the window locks up and after long time "Cannot Find Server" page is displayed.

We have tried to check with different http tracer tools and it seems the call to the servlet doesn't even leave the box where the link is clicked. So we assume that somehow the window is locked up is unable to send the request to the servlet and after some time displays the "Page Not Found" page.

The client base using these servers are usually using Windows XP.

This is a real showstopper for the whole application.

Solutions investigated so far : http://support.microsoft.com/kb/555107/en-us
[ November 08, 2008: Message edited by: Bear Bibeault ]
15 years ago
JSF
Did anyone found out any solution for this situation?
[ June 22, 2008: Message edited by: Pradeepta Bhattacharya ]