Ashish Agre

Ranch Hand
+ Follow
since Jan 22, 2011
Ashish likes ...
Netbeans IDE Java Linux
Bangalore, Karnataka, INDIA
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
45
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ashish Agre

Are you able to view the file when opened directly by typing the address in address bar example :


this was the code related to glassfish specific as you said...
can you give the contents of only "web.xml"
9 years ago
HI Jonathan... i am using form login. But on top of that i want to use jopenid. Can this be possible.
Thanks
9 years ago
Hi... Michael... sorry for late reply...
i added this field is-connection-validation-required="true" it worked but there is a new exception... not severe or any other... it should be igored or something else...

INFO: RAR5074 : Table based validation detected invalid connection. Querying the table GROUPS failed. Set resource-adapter log-level to FINE for exception stack trace.
INFO: RAR5074 : Table based validation detected invalid connection. Querying the table GROUPS failed. Set resource-adapter log-level to FINE for exception stack trace.
INFO: RAR5074 : Table based validation detected invalid connection. Querying the table GROUPS failed. Set resource-adapter log-level to FINE for exception stack trace.
INFO: RAR5074 : Table based validation detected invalid connection. Querying the table GROUPS failed. Set resource-adapter log-level to FINE for exception stack trace.
INFO: RAR5074 : Table based validation detected invalid connection. Querying the table GROUPS failed. Set resource-adapter log-level to FINE for exception stack trace.
INFO: RAR5074 : Table based validation detected invalid connection. Querying the table GROUPS failed. Set resource-adapter log-level to FINE for exception stack trace.
INFO: RAR5074 : Table based validation detected invalid connection. Querying the table GROUPS failed. Set resource-adapter log-level to FINE for exception stack trace.
INFO: RAR5074 : Table based validation detected invalid connection. Querying the table GROUPS failed. Set resource-adapter log-level to FINE for exception stack trace.
9 years ago
Well a bit off track answer from my side sorry for this... but i would rather suggest you to store the image path in the database instead of image itself.
So that either it is a web application or desktop application you only need to provide the path for the image to display. It may be Label component for desktop or img tag of the web-page.
The only thing you require to do is to save image file in some specific folder and store its path in the database and then retrieve it later to display.

Thankyou.
I am able to authenticate the user successfully through realm first time when restart the server and deploy the application. But after few minutes when i try to open the webapp in different browser the i'am unable to authenticate the user..
With localhost mysql it works fine but when i try to connect the remote mysql authentication fails after sometime.
I have posted this question in jdbc forum also ... mysql connection pool issue
This is my glassfish-resources.xml




the stack trace of the error is as follows...



I am fed of this error search so many threads but unable to resolve this problem.
9 years ago
As far as my understanding it is final to the type of object which the variable is pointing. But it is not mandatory that the object to which it is pointing itself is immutable. We can modify the object value even it is referred by the variable which is declared as final.
If ClassA is a final class and it is pointing to ClassB the object reference is final but the reference to which is pointing can change it behavior means properties of ClassB can b changed.
I am able to authenticate the user successfully through realm first time when restart the server and deploy the application. But after few minutes when i try to open the webapp in different browser the i'am unable to authenticate the user..
With localhost mysql it works fine but when i try to connect the remote mysql authentication fails after sometime.
This is my glassfish-resources.xml



I am fed of this error search so many threads but unable to resolve this problem.
Solved.. this issue... had to set Default Realm : JDBCRealm instead file.

or the name of the realm which we had declared.
and unchecked security enabled in Admin Console.
9 years ago
JSF
Hi James have you solved this problem i am getting the same problem.

James Albright wrote:Hello,


I'm trying to authenticate users via a JDBC Realm but it's not working despite numerous attempts to fix it. Maybe someone here can help me? I get the log-in form on the right pages, I type in the right password, and it just refuses to authenticate.

Glassfish error report



9 years ago
JSF
I'm unable to get the access token from the google, i have received the code but...
hey ong i'm also trying to implement the same please guide how to approach this problem.
9 years ago

Rizwan Patel wrote:
Can anyone point me to good resource material for learning and implemnting the WS-Security in SOAP based services, please?

Regards,
Rizwan

9 years ago