This week's book giveaways are in the Cloud and AI/ML forums.
We're giving away four copies each of Cloud Native Patterns and Natural Language Processing and have the authors on-line!
See this thread and this one for details.
Win a copy of Cloud Native PatternsE this week in the Cloud forum
or Natural Language Processing in the AI/ML forum!

Peter Kristensson

Ranch Hand
+ Follow
since Jul 02, 2001
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 Peter Kristensson

Hi.

I think you'll need to verify the settings for your virtual host.
They are available under the "Ports" tab in the server configuration in WSAD.
Check that *:9080 is listed in the "Cell settings" -> Host alias list

cheers
/Peter
14 years ago
Hi.

Check out this site:
http://www-1.ibm.com/support/docview.wss?uid=swg21084187

It explains how sendRedirect differs between version 4 and 5 using leading slahses and not using them.

/Peter
14 years ago
Hi.

I think you're missing the db2java.zip file in your classpath for the JDBC Provider.

Which type of connection are you trying? jdbc type 2 or type 4?

/Peter
14 years ago
Hi.

You can download the plugin binaries from the "cumulative fix" webpage.
http://www-1.ibm.com/support/docview.wss?rs=180&uid=swg24007265

/Peter
14 years ago
It hasn't been released yet.
The only version available is a preview "for developers" as they call it, it's for the windows platform only.
I'm expecting it sometime around mid-december (but don't take my word for it since I don't work for IBM).

/Peter
14 years ago
Hi.

Yep, that can be done.
Not through normal websphere administration though.

We have a user registry implementation that's used to protect the admin console. This registry is then capable of loading other registrys and delegating the checkPassword/getUniqueUserIds/... methods to the other registry.

For our registry to know which other class to load, we indicate this through JVM custom properties. This limits the use to one other loaded registry per JVM (= appserver), but that is ok in our case.

My suggestion is that you either standardise you registry so that all applications use the same (maybe you have som company policy?).
Another solution would be the one I described above, since you've written a registy before it shouldn't take you too long to do it. It took me about a day or so to enable our class to load other registrys.

hope this helps
/Peter
15 years ago
Hi.
You would use the WSAD to write your J2EE applications.
Then when you're done, you would deploy the application and run it on a "normal" WAS installation. (You cant actully write applications using the WAS, it's only for running them)
WSAD - write applications.
WAS - run applications.
What might confuse you here is that the WSAD is shipped with a couple of "test servers", which is basically a WAS server that runs inside the WSAD (or at least in close proximity to it). These servers are used for testing your applications. But when it comes to setting whole shebang in production, you'd normally want a normal WAS installation without all the WSAD-stuff clinging to it.
hope this helps
/Peter
15 years ago
Hi.
My experience on this is dependant on how they fail.
If you throw an exception during your processing of the messages, the WAS will likely just shut down the listener port on the server.
This will leave the messages on the queue and WAS will attempt to process them once again when you open up the listener port.
/Peter
15 years ago
Hi.
Yes, this should be possible since WSAD builds on the Eclipse framework.
Take a look at the UML2 project at eclipse.
/Peter
15 years ago
Hi.
The location of the repository depends a bit on which version you're talking about. Version 4 uses a relational database (Oracle, DB2 etc) to store the repository, while version 5 uses a directory strutcure stuffed with xml-files. I personaly prefer the xml-files, but maybe that's just me
As to what's actually stored in the reposity: it all the settings for your different application servers (where to log stuff, what heap size to use, which user to run under etc). The admin repository also contains things such as which applications you have installed, under which appserver they execute and so on. I also think that the bindings for EJB:s are stored in here (but I'm not sure about this, they could be in the installedApps folder, someone else might clarify this)
Additionaly, the repo contains the configuration for all your resources (jdbc connection pools, MQ queues, J2C connector etc).
References and documentation for WAS can be found in the WebSphere info center
or at IBM redbooks
hope this helps
/Peter
15 years ago
Hi.
It looks like you're running version WAS version 4. can you be more specific on which fixlevel you're on?
Du you run with security enabled?
Have you checked out the recent issues that have arisen due to expired certificates in the IBM JVM?
Regards
/Peter
15 years ago
Please don't cross post both here and in the Tomcat forum.
It wastes space, time and resources.
/Peter
15 years ago
Hi.
Look at the java.lang.Runtime class, more specifically the exec methods.
/Peter
15 years ago
Hi.
I'd use a matrix with the x-indexes as "from" and y-indexes ad "to".
so the value at location [a][b] is the distance from a to b.
You could use a negative number as an indicator of an non existant leg.
Then you'd just iterate from the start node and create you'r N*2 dimensional matrix. (distance and last stop).
Sample matrix:
(edited: swapped axis, whoops)

distance A to B is 2, A to C is 2, B to A is 1, B to C is non-existant and so on...
hope this helps.
/Peter
[ December 18, 2003: Message edited by: Peter Kristensson ]
15 years ago