• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Unable to connect to Jforum after its deployment

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

We have some problems to run JForum. The installation was successful and everything worked fine when running the application in our LAN. When we put the same machine in our DMZ and tried to access the forum via internet, we were unable to connect to the Jforum. We always get the message "Invalid username or password". Even the Admin user is rejected.

We run Jforum 2.1.8 on Tomcat 6.0.14.

Any suggestion or starting point to trace the origin of the problem (config file, log file ?) are welcome.

Thanks in advance for your help.

Regards
[originally posted on jforum.net by et]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have more information about the special behaviour described in my previous post. If we open a brower and type the adresse of the forum (http://www.yyy.xxx/forum), everything works fine. If I first access to our website and then redirect the user to the jforum through a link, the connection failed.

Any suggestion is welcome ...

Thanks,

ET
[originally posted on jforum.net by et]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A few questions:

-Are you using an Single-Sign-On (SSO) connecting your mainsite to the forum?
-What is happening when your try to reach the page exactly (time-out error, Tomcat error...)
-I'm assuming that you are running the site http://www.yyy.xxx on Tomcat also. If not where is that being hosted/what program is doing the hosting?
[originally posted on jforum.net by confused2gether]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
First of all, thank you for you help.

We don't use SSO authentication.

This error is completely silent: No time-out, No tomcat error ... we simply get a "Invalid username or password" if we access Jforum from the main site.

The main site also run on tomcat at the root (http://www.xxx.yyy/) whereas the forum run under http://www.xxx.yyy/forum. FYI, we have an application as frontend on the main site. The application uses struts 2. Could it be the origin of our problem?

We did also a test with a static page (http://www.xxx.yyy/toto/myhtml.htm) including a link to http:\\www.xxx.yyy\forum. In this case, the redirection works fine.

Thanks

Eric
[originally posted on jforum.net by et]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

et wrote:First of all, thank you for you help.

We don't use SSO authentication.

This error is completely silent: No time-out, No tomcat error ... we simply get a "Invalid username or password" if we access Jforum from the main site.

The main site also run on tomcat at the root (http://www.xxx.yyy/) whereas the forum run under http://www.xxx.yyy/forum. FYI, we have an application as frontend on the main site. The application uses struts 2. Could it be the origin of our problem?

We did also a test with a static page (http://www.xxx.yyy/toto/myhtml.htm) including a link to http:\\www.xxx.yyy\forum. In this case, the redirection works fine.

Thanks

Eric



As far as Struts2 causing this issue, I would assume no but I would not be able to rule it out because I have no experience with it at all and it doesnt sound like a framework is an issue here. What browser are you using to check these pages in?
[originally posted on jforum.net by confused2gether]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

The access to the forum was tested using both internet explorer 6.0 and firefox 3.0. I must admit that we are a little bit lost. Any suggestion about a way to trace the problem is welcome.

Thanks,

Eric
[originally posted on jforum.net by et]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is that error message on a specific jforum page or is it a generic 404 type error page?

Is Tomcat acting as the web server or is there another web server fronting for it? E.g., Apache or IIS.

If so, how are Web server and Tomcat communicating? E.g., via a proxy re-write rules or a JK connector.

Have you checked the tomcat logs for additional error messages?

Have you checked that the machine can connect to it's database server and the error's not due to the DMZ not being able to access the DB server.

Can you expand on what you mean by "redirect the user thru a link"?

Sorry, more questions than help but I don't have enough info to make a good guess here.


[originally posted on jforum.net by monroe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for your help, and sorry to answer so lately.
Our problem seems to be fixed now.

The problem seems to come from the HTTP authentification.
Actually, the main site was in a protected realm that required HTTP authentification.

Can someone confirm that it could be the source of the problem?

Thank you!
[originally posted on jforum.net by et]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, that does sound like a possible explanation.
[originally posted on jforum.net by monroe]
 
What are you doing? You are supposed to be reading this tiny ad!
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic