Akhil Kashyap

Greenhorn
+ Follow
since Feb 12, 2010
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 Akhil Kashyap

Hi,

Finally I am successful to get certain pages opened via https and others via http.

I have achieved this using filter and a list containing list of jsp pages which should be accessed using https.

Now filter was constatntly intercepting the request and checking the uri against the list of secure pages.


Thanks & regards,
Akhil.
9 years ago
JSP
Hi,

I am successful to secure certain pages using

in web.xml.

My JBoss is listening for http requests on port 80 and for https on port 443.

Below is excerpt of my Jboss-3.2.2RC3\server\default\deploy\jbossweb-tomcat41.sar\META-INF\jboss-service.xml



But now for example page abc.jsp is secured by "<transport-guarantee>" so when this page is requested url gets changed to "https://localhost/jsp-folder/abc.jsp" (which is expected)
and now if user opts for say xyz.jsp which is not secured by "<transport-guarantee>" yet the url remains "https://localhost/jsp-folder/xyz.jsp". (not expected)

Can any one guide is there something I am missing so that non-secure pages can be accessed using http?

Thanks & regards,
Akhil.
9 years ago
JSP
Thanks Devaka Cooray :) for guiding me.

I am trying in light of what you have told me and will let you know.


Thanks & regards,
Akhil.
9 years ago
JSP
Hi,

I am working on a web application the environment for which is as mentioned below:

JSP/Servlet
EJB 2.0
MS SQL Server 2000
JBoss 3.2

As of now this app is using http protocol but now I have to develop a new page in this app which should be secure i.e. should use https instead of http.

I have searched and found ways to move entire web app from http to https.

But I need only certain pages to use https. Can some one guide me how to make certain JSPs secured ?

Thanks & Regards,
Akhil.
9 years ago
JSP
Hi

Sorry for the delay in my response.

I have got things working with..

64 bit JVM
64 bit Java Service

@ Peter

I have tried 32 bit Java Service with 32 bit JVM, service was created successfully but when I tried to start, it gave me error message like I mentioned earler in this post.

Can any one suggest some documentation about Java Service so that I can get some idea what is happening behind the scene.

Thanks Peter and Paul for your responses.

Akhil.

11 years ago
Hi,

Thanks for the reply.

As of now I am not using 64 Bit JVM.

I have downloaded JDK 1.4 64 bit. Does that mean I have to look out for JBoss 3.2 64 bit also....?


Akhil.
11 years ago
Hi,

My current production environment is as below:

OS: Windows Server 2003 - 32 Bit
AS: JBoss 3.2
JDK: 1.4

JBoss here runs as a windows service.

Now we are planning to migrate to Windows Server 2003 64 bit.

I have tried to run same Jboss with same JDk from console on 64 bit OS and everything was smooth. But when I tried to create windows service of JBoss it did not start and gave error message "The JBoss service on local computer started and then stopped. Some services stop automatically if they have no work to do, for example, the performance and alert logs."

When I looked into the event logs I found "Load libraray function failed as it is not a valid Win 32 application."

P.S. I have used 64 bit JavaService to create windows service of JBoss.

Any one having any idea what I am missing...kindly suggest.

Thanks in advance

Akhil
11 years ago
Hi

Yes I mean line 22.

As the same code is working fine in another project and the output of line 22 there is " <rootTransaction />".

The comparison made me to believe there is some thing wrong in lines 15 to 18.

Regards,

Akhil.
Hi,

I am trying to make a XML using code mentioned below. But it is giving me [rootTransaction:null] at line 20.



Please let me know what could be the possible reason.

Thanks in advance.

Akhil Kashyap
Hi Kunu,

Can you please tell me how to set time zone for Eclipse.

I am using JDK 5 and Eclipse Galileo. Eclipse shows time as per GMT in console where as I am in IST. Windows is displaying time perfectly fine.


Thanks in advance.


Akhil Kashyap
Thanks Jaikiran. It solved my problem.

Regards,

Akhil Kashyap.
11 years ago
Hi

I am working on an application which is using 'j_security_check' for login authentication. User security roles are residing in DB.

Now if any UI user is given a new role it takes a lot of time to reflect (usually more than 20 hours), provided JBoss is not restarted.

I have tried repeated logins, as I was thinking that JBoss checks the security roles from DB on each login, but new role is not being reflected.

So I am wondering where this time period (after which JBoss checks the security roles from DB) is set in JBoss.


Thanks in advance.

Regards,

Akhil Kashyap.
11 years ago
Hi John,

Filter approach is not working as filter does not get invoked when one is using j_security_check along with JBoss.

Any other work around from any one?

Akhil.
11 years ago
JSP
Hi

Out of these two, Business logic(BL) in DB(Stored Procedures) or in EJB layer (Java), please guide me which is the best practice and why...?


Akhil
11 years ago