Darryl Failla

Ranch Hand
+ Follow
since Oct 16, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Darryl Failla

I am having a problem running my web application on Oracle 11.1.1.7 because of the endorsed folder. What is the mechanism for getting jar files into weblogic without the endorsed folder?
10 years ago
I am having an intermittent problem with stuck threads due to network problems. What I would like to do is start and stop a timer at the start and end of my thread and have an exception be thrown if the timer runs out (thread got stuck). The exception would get me out of my thread then I could just reset and restart it. The run() override in TimerTask can't throw an exception so I can't use that. Anyone come across options for this?
I have an application in which I have to maintain both the SOAP message sender and handler. Previously, all I had to do with the handler was set up onMessage(SOAPMessage) in an HTTPServlet child class with the javax.xml.soap libraries (using SAAJ). The SOAPMessage could easily be parsed out to get the message. Now WebLogic 10.3 doesn't like that structure or set of libraries. I don't really have access to the web container settings or programming. I have to do this all as a deployed java program (pretty low level) but I can't find anything to guide me through the proper structure of the handler. Any ideas?
12 years ago
I have a few jasper reports that were created in an older version of iReports that use a parameter named FILTER. When I try to open the jrxml file in any version of iReports older than 4.1.1, I get an error that I have a "duplicate parameter declaration: FILTER". Even if I start a blank report and try to create a parameter called "FILTER", I get the same error. Did iReports or jasper make FILTER into a key/reserve word starting with 4.1.2?
I'm creating my first WS app with SAAJ 1.3 and WebLogic 10. I see a lot of examples about client side requesting and response reading, but I don't see anything about how to create the server side. It's not at all clear what the pattern is for reading the request and constructing and returning the reply. Where to look?
13 years ago
My office was recently "upgraded" to Weblogic 10.3 and my SOAP app that worked before will not work now. I create my send my SOAP message to the server and HTTPServletRequest inputStream data is shown below:

<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<ns1:getData xmlns:ns1="" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<immuncd xsi:type="xsd:string">000</immuncd>
<birthdt xsi:type="xsd:string">19960727</birthdt>
</ns1:getData>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

It's all nice and clean but when I convert this to a SOAP message with:
SOAPMessage message = messageFactory.createMessage(mimeHeaders, request.getInputStream());
SOAPBody requestBody = message.getSOAPPart().getEnvelope().getBody();

I end up with a SOAPBody containing SOAPTextElement objects that cause ClassCastException. Can anyone tell me the root of this problem. Is it a WebLogic issue?
14 years ago
I have found it to be a case sensitivity issue; "readOnly" instead of "readonly".
The actual javascript is the last four lines of the message:

function ChangedMDR(otherID) {
var myOtherItem = document.getElementById(otherID);
myOtherItem.removeAttribute("readonly");
}
I am attempting to have a read only text box until another text box is changed. onChange for the second text box, the javaScript is called to remove the readonly attribute. The function is called but the box remains unwriteable. What am I missing?

XSLT declaration:
<input type="text" id="mdr_phone" name="mdr_phone" size="40" maxlength="60">
<xsl:attribute name="value"><xsl:value-of select="//mdr/mdr_phone" /></xsl:attribute>
<xsl:attribute name="readonly"><xsl:value-of select="readonly" /></xsl:attribute>
</input>

function call:
<input type="text" id="mdr_name" name="mdr_name" size="40" maxlength="60">
<xsl:attribute name="value"><xsl:value-of select="//mdr/mdr_name" /></xsl:attribute>
<xsl:attribute name="OnChange">
ChangedMDR('mdr_phone');
</xsl:attribute>
</input>


function ChangedMDR(otherID) {
var myOtherItem = document.getElementById(otherID);
myOtherItem.removeAttribute("readonly");
}
I am trying to create an SSLSocket through a proxy to a destination host. My System properties are:
proxySet, true
https.proxyHost, proxy name
https.proxyPort, 8443

When I try to create my SSLSocket with:
(SSLSocket)factory.createSocket(destination host,443), I get an IOException with a message that is my destination host.
I have a servlet already written in JDeveloper and I wish to make a web service out of it. I find Oracle's explanation confusing. Can anyone list the steps?
16 years ago
I have jar file(app.jar) with an application that references a class in another jar file(support.jar). Both jar files are in appfolder. In order to run it from the command line, I run:

c:\appfolder>java -classpath c:\appfolder\support.jar -jar app.jar

I keep getting NoClassDefFoundError referencing the class in support.jar. What am I missing here?
17 years ago
OK, I've spun myself into circles so that I'm not sure which way I'm pointing. I am a client trying to interface a server via SSL. On the client side, do I want to set up an SSLServerSocket or and SSLSocket?
There doesn't appear to be any elegant way of interrupting a thread that is stuck in a loop using Java 1.4. Is that true?

It also appears that the thread interrupt method of 1.5 may be more powerful and allow this action.
All threads in the group must be already stopped? What happens if you issue a destroy command on a ThreadGroup that has threads still running?