Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!

Kurtcebe Eroglu

Ranch Hand
+ Follow
since Jan 30, 2007
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
2
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 Kurtcebe Eroglu

Well, then may be you shall post your question on Tomcat Forum instead of here.
8 years ago
In order to logout you must make a POST request to a special servlet, mapped at ibm_security_logout. You may check 'form logout example' section here to figure out how to setup you page to use form based logout facility.
8 years ago
Hi Vikram,

Probably you have setup an Application Server Profile after binary installation. This results in a single server environment where admin console application is also run in your server process. In order to see clusters, nodes etc in the menus, you must run admin console in a deployment manager process.

In order to do so you must create a deployment manager profile using Profile Management Tool. For actually creating a federated environment you shall also create nodes and federate them, which will contain your application servers and clusters.

Regards.
8 years ago
A secure cookie will only be sent through HTTPS protocol. An HTTPOnly cookie prevents javascript to retrieve and manipulate it.

These do not specify wheather a cookie is encrypted or not. JSessionID is not encrypted (it does not contain user data anyway, it's just a key to user's session at server side).
9 years ago
Hi Jaya,

What kind of application is this (wht not use JEE declerative security)? If this is a web application, and that's authentication you're after, then you have plenty of choices that can be configured easily like basic, digest, form based etc. by configuring your web application deployment descriptor.

TBH I never had to use this before, but here's how I guess you shall create a SASL client;



BTW, Sasl here is javax.security.sasl.Sasl.

For detailed explanation and code snippets you may check out Security Information of IBM Java 5 SDK (that's what WAS 6 uses).
9 years ago
Hi Jaya,

XMPP server will send presence messages only to clients which login to it. So if you have two generic accounts and you start/login them on JVM 1 and JVM 2, these are the only ones bound to get back presence notifications. XMPP server will not even know that you have JVM3 and 4 in place.

Am I missing something about your environment?
9 years ago
jar files under WEB-INF/lib may go to shared library folder.
9 years ago
Hi West,

AFAIK there is no operational connection between WebContainer thread pool and ORB thread pool, except for the fact that if you're accessing your application via web transport and then making RMI stuff in your EJBs then you'll be consuming a thread from webcontainer and one or more from ORB thread pool (and if you're using JMS, then also some threads from 'default thread pool', which is again an independent one). The two are independent, and size of both are controlled independently and dynamically by WAS runtime according to your settings, workload and the way your application works.

Documentation about different thread pools are scattered across infocenter, especially at tuning pages, but I also failed to find one that summarizes all.

Nonetheless, you can log into administrative console of a running instance, navigate to Monitoring and Tuning/ Performance Viwer/ Current Activity, expand thread pools node, and see all different thread pools you're using under a certain JVM, including their respective sizes and utilization at that time, and figure out how you utilize them.
9 years ago
IMHO how close an application server follows new specifications depends on its intended audience and usage pattern.

Following the specifications more closely means more frequent major releases (as major specifications get updated). This is generally bad news at an enterprise setting because it in turn means that you have to upgrade your installations more frequently, due to more frequent product version sunsets (end-of-support). As far as I can tell from my own experience, I've seen many enterprise customers not updating spec levels even if servers are getting updated; for example they upgraded to WebSphere6/7 from WebSphere5 but did not migrate their code from JavaEE 1.4 to EE5; so most are not so keen about spec levels. At sum, if you want to educate yourself on latest spec levels, use a server that acts as reference implementation. If you will run it in your company, use WebSphere

IBM also recently extended it's product packaging with 'feature packs', to cater better to customers wishing to work on newer spec levels. Below is a quote from their website.

http://www-01.ibm.com/software/webservers/appserv/was/featurepacks/

IBM is simplifying the way you consume WebSphere Application Server with Feature Packs. In order to balance our customers’ desire for less frequent releases while still making available the latest standards to our customers who need them, IBM has introduced Feature Packs. With Feature Packs, customers can selectively take advantage of new standards and features while maintaining a more stable internal release cycle. IBM offers Feature Packs generally available or available in either open alpha, beta or technology preview.

9 years ago
Hi Marcelo,

Following article may get you started;

Enabling a third-party JAX-WS application in WebSphere Application Server V6.1

Quoting from article

This article demonstrates how to use an application EAR with Axis2, Apache CXF, or Metro embedded in it with WebSphere Application Server V7.

9 years ago
IMHO this may be a network problem. If this is the case, following may help.

If your server is becoming unresponsive after seeing this error frequently, try setting ConnectionIOTimeout of your HTTP transport to a lower value (for example 1 sec instead of default 5 seconds). You will still see these exceptions for bad requests but server shall stay more responsive, as your webcontainer threads will be blocked for a shorter duration before timing out on a bad request. If you don't have responsiveness issues but just irritated by this exception every once in a while, you may increase this value to give more slack to cover for network problems.
9 years ago
You must use Application Client for WebSphere Application Server to do that. You may use this page as an entry point to details of installing and using that.

Also, this page tells in details how to access your datasource afterwards. But be warned about the note below as quoted.

Note that data access from an application client uses the JDBC driver connection functionality directly from the client side. It does not take advantage of the additional pooling support available in the application server run time. For this reason, your client application should utilize an enterprise bean running on the server side to perform data access. This enterprise bean can then take advantage of the connection reuse and additional added functionality provided by the product run time.





9 years ago
I can't figure out why you are not prompted to save changes but may be this can work; As far as I can recall, when you logout from admin console, you are prompted to save your pending changes, if any exists. So may be you can logout/ save changes when prompted/ login again / start application.

I also recall having problems on adminconsole controls while using chrome as browser; it sometimes does not play well with javascript on admin pages.
9 years ago
I guess the size owes to libraries imported as JAR files to you WAR, possibly under web-inf/lib. If this is the case, you may use shared libraries to reduce your WAR size.

Usually most of these libraries (included JAR files) are third party libraries or libraries that do not change frequently. You may copy these to filesystem of your server and remove them from your WAR file using shared libraries, which may drastically reduce your WAR file size. This also makes it faster to build the WAR file and transfer it to server, in addition to deploying it.

You may check infocenter on how to configure shared libraries on RAD and WAS.
9 years ago
Haven't gone through it all but you seem to be missing curly braces for while loop so only the first if statement that follows is looped.

You may also try to use your debugger to step in the code to see what's the problem.
9 years ago