Win a copy of Spring Boot in Practice this week in the Spring forum!

Raja Sathci

Greenhorn
+ Follow
since Sep 16, 2005
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 Raja Sathci

Hi All,
I presently have a requirement wherein I want to multi thread my messageproducer.send() method, please let me know will there be any implications.
Thanks,
Raj
11 years ago
Hi,
I have set an jar file in a Windows environment variable classpath. Have also confirmed the changes by running the command
echo %classpath%
it does show the jar file.
But however when i run the command java -jar jarfilename it says " unable to access jarfile"

Can any one please help how to overcome this issue

Thanks in advance.

Regards,
Raja
13 years ago
Hi,
I am planning to call a java program from C. I also need to pass parameter from the c program to java as a commandline parameter.

Please help.

Regards,
Raja
13 years ago
Hi,

Below is a code snippet i am using in my program,


String cmd = "set itr="+count;
System.out.println(cmd);
Process p = Runtime.getRuntime().exec(cmd);

When i run the program i get the following exception,

set itr=5
java.io.IOException: CreateProcess: set itr=5 error=2
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
at java.lang.ProcessImpl.start(ProcessImpl.java:30)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
at java.lang.Runtime.exec(Runtime.java:591)
at java.lang.Runtime.exec(Runtime.java:429)
at java.lang.Runtime.exec(Runtime.java:326)
at ReadFile.main(ReadFile.java:39)


Can any one please let me know how to overcome this.
Basically i am trying to set a environment variable from java.

Regards,
Raja
13 years ago
Hi,
I currently have a iplanet web server where the etag and last_modified headers gets added by default.
But however i have added 2 lines to remove these headers
Output fn="set-variable" remove-srvhdrs="last-modified"
Output fn="set-variable" remove-srvhdrs="etag"

and have added the below line to add max-age header
Output fn="set-variable" set-srvhdrs="Cache-Control: max-age=60"

Now when i restart Iplanet webserver, i dont see the last modified, etags headers anymore. I can see the max-age header.
But when i do a refresh for a particular page the contents are not from cache instead, it gives me a 200 requets, meaning it goes to
webserver each time.

could anyone please help in fixing this.How to make the caching work with just the max-age headers.

Regards,
Raja
13 years ago
which files in iplanet, references the installed certificates during iplanet web server startup.
Is there any config file which references these certs.
Thanks in Advance.
13 years ago
Daron,
In our environment the websphere's "libraries.xml" had only the IBM's jar file, couldnt find my application jar files listed.
Could you please let me know more about this "libraries.xml" file.

Regards,
Raja
13 years ago
Hi,
i have 2 class files with the same name in 2 diff jar files.
Also the hierrachy is the same for both class files.
ie com/package/hello.class in jar1
and com/package/hello.clas in jar2

Now i have placed these 2 jar files in the lib dir of websphere.

Not sure at runtime, which class files will get instantiated.

Please let me know if you come across such a issue.

Thanks in advance.
13 years ago
Thanks Freddy and gowher for the information.
I just passed my scwcd on 6th of August 2007. I am planning for SCBCD 310-090 next. I had used Tomcat for my scwcd hands on. can anyone help me like what ejb container should i use and where to get them from. Thanks in advance.