Mark Wuest

Ranch Hand
+ Follow
since Jun 07, 2003
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 Mark Wuest

Update: I did get Weblogic (we're still on 9.1, BTW) to override the classpath loading order by putting this in weblogic.xml:



This, of course, caused other incompatibility issues with the app and WLS. I'm going to try it on a more current version of WLS.
8 years ago

Mathieu Fortin wrote:What jdk versions are you using? Older jdks included xerces and xalan version and a lot of conflicts were experienced. Packages were renamed starting in 1.5 (com.sun.org.apache.xerces) to remove any possibility of conflicts.



Thanks - my JDK is 1.6 building 1.5 compatible files to run on Weblogic 9.1 on a 1.5 JRE.
8 years ago

David Newton wrote:May be in Manifest file, other times you just have to be aware what you're using, and either rename locally, or wing it. Issues like this are one reason Maven and Ant+Ivy exist.



I'm a little confused by the solution OP found here: unless HttpUnit came with an unusable version of xerces in it's own jar or something, changing the order of the classpath doesn't seem like it should fix this?

I'm getting the same error with hapi (an hl7 message parser from http://hl7api.sourceforge.net/).

On a whim, I tried changing the order in .classpath (also using myeclipse like OP). No cigar. I tried using xercesImpl.jar that came bundled with the hapi download and also tried the latest from Apache. Yeah, I'm grasping at straws here. :)

'Any other thoughts as to why it's not finding this?

Well, for completeness', here's my exciting and wonderful .classpath:



Thanks,

Mark
8 years ago

Davide Crudo wrote:Hi,

i've never used web services before...but if i understand right, I cannot pass objects
back and forth with webservices...is more like a request response...or am I wrong?

I would like to be able to pass objects...which is more practical ...



Well, it's good news bad news. You can certainly pass pojos back and forth with a web service. The bad news is that Android doesn't have the SOAP stuff built in and it's not trivial to get them working. I've had pretty good luck using restful web services (ok - I've done exactly 2, but I did both the server and Android side ) that you just parse on the device with sax. But you lose the fancy wsdl parser that generates stubs and, if you had them, pojos.

Mark
9 years ago
I've got a ListView that I populate from an String[].

I tried to change the text color to black on white. Every other item on my screen works.

Except the ListView. The background changes to white. The text stays white.

My main.xml:



My resources.xml:



You may surmise (correctly) that I've tried other permutations of textcolor, listFont, and just color/black.

any thoughts?

Thanks,

Mark
9 years ago

Campbell Ritchie wrote:If the HashSet always contains the same data, why don't you make it static? And maybe even final?



Yeah - I intended to do that, but having it anything other than method-local makes the IDE crash. Weird, huh?

Mark
10 years ago
Hmmm - the IDE started going nuts and crashing (and sending bug reports). I moved the HashSet to be method local (which means the HashSet gets re-initialized each time the method gets called) and it fixed things. Not effecient, but at least the IDE doesn't crash and I don't get warnings... Weird..

Mark
10 years ago
I shoulda pasted the code instead of typing it - it's a web service. I edited the code to include the annotations...

It's "BEA Workshop for WebLogic Platform", eclipse based.

Mark
10 years ago
I'm not sure what eclipse/javac is trying to tell me here. Maybe I need more coffee... Anyone know what it means?

"Any data in the field "attribsToCopyInit" should not be specific to the caller of this service. Values in this field will not be consistent across operations or event handlers on this class."

"Any data in the field "attribsToCopy" should not be specific to the caller of this service. Values in this field will not be consistent across operations or event handlers on this class."

Here's the code:

Thanks,

Mark
10 years ago
We have a Weblogic server 9.2.2 and grant access to protected web pages using javax.servlet.Filter. The only login to the Security Realm is the console.

That works fine.

But now we want to provide SAML assertions so users can access other systems with SSO. In the past we've used a variety of techniques like posting, custom web services, etc. Now we'd like to use SAML. Weblogic only wants to assert users who are in the active realm (our users aren't in any realm at all - the Filter uses a cookie and the session).

I've read all sorts of Weblogic docs about custom mappers, custom login, etc., but can't seem to figure a workaround. Oracle support responded with "that sounds like a development issue and we only help with server errors".

So, this is my stab in the dark with my arcane Weblogic SAML question.

'Any ideas on how to get Weblogic Server to provide SAML assertions for users not in their realm? Perhaps some way to get it to see them as in the active realm without them having to log in (again)?

Thanks for any thoughts,

Mark
10 years ago
The issue I'm running up against is a jaxws version issue. Weblogic has its own version of the WS client code and the WSDL we're trying to use requires the latest version to be able to parse. Even so, the current codehaus WS stuff won't parse it, so I have to parse it with wsimport. Even *then*, I have to hand edit the stubs to create the standalone client.

That means that there are features/properties of jaxws in the stubs created by wsimport that are not supported by Weblogic. Because of the WSDL, portable stubs are out. I've got a headache and a dent in the wall from banging my head against it and I'm begging for fresh ideas before I end up with a concussion...

Mark
11 years ago
I am attempting to deploy a Web Service client to Weblogic 9.1.

When attempting to invoke the client, I get

This happens when instanciating the TerraService class, which extends java.ws.Service and calls

I'm at an impasse - able to invoke the client from a standalone Java program, but not from the server. I've bundled the jaxws jars in my war file (and also tried them in the server's classpath just for grins). Same runtime error.

Does this ring any bells with anyone?

Thanks,

Mark
11 years ago

Originally posted by Paul Clapham:
You don't get Eclipse to include those other jars. (No matter what you meant by "include".) You put their names into Class-Path entries in your executable jar file's manifest and distribute them along with (not in) your jar. Here's the jar file tutorial, it tells you that and more:

http://java.sun.com/docs/books/tutorial/deployment/jar/



Heh - it's all coming back to me now ('been sequestored in servelet land for way too long!). In fact, I vaguely recall JBuilder defaulting to bundle the jars in my jar on some project once and having to do crazy classloader games.

You're right - I don't want those jars bundled in mine.

Thanks,

Mark
I have created a java project in MyEclipse that I wish to make into a standalone executable jar. It needs jdom.jar, mssqlserver.jar, and a couple of others. I can create the jar with "export->jar file", but it will not execute because, of course, it cannot find the stuff it needs in those other jars.

I cannot get Eclipse to bundle these other jars with it. Since I'm a contractor in an Eclipse shop, just making one manually with jar is out of the question.

How do I get eclipse to include these other jars?

Thanks,

Mark
FWIW, this is where I've been using AJAX like a madman. Ok, I don't use XML.

But I have just a few requests that are essentially just accessors to session objects like arrays and AJAX lets me access them from javascript almost at will. AJAX R0X0RZ!

Mark
13 years ago
JSP