• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Help with migrating to new server

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Using Tomcat 5.5.17 via IIS redirector (configured exactly the same on both servers)
Runs perfect on Development server.

I copied the files(complete JForum webapp) from a development server to our certification server.

On Certification

The data is there (hsqldb) but the text is only being displayed without the blue banner and boxes and no icons

I can login using my administrator login but when I try to go the the Admin Control Panel I get:
resource can not be found
/admBase/login.page

Another odd thing. On the development server the date was in the mm/dd/yyyy format but on certification the date is showing dd/mm/yyyy. Both of the servers have the regions set the North American and I did a complete copy and paste of the jforum webapp.

Any help would be appreciated.

[originally posted on jforum.net by obiweb]
 
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
Did you restart Tomcat & IIS after copying the files over?
[originally posted on jforum.net by GatorBait3]
 
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.

What is odd is that when I get on the certification server and use localhost the graphics look okay except for the dates being dd/mm/yyyy.
When I go to the public URL then graphics are missing.

NOTE: on the development server (same files) the dates are in the mm/dd/yyyy format.

[originally posted on jforum.net by obiweb]
 
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
I am having a problem displaying the list.page.

If I terminal services to the server and run it as a localhost the pages look okay.
If I access the web server by using <server.com>/jforum-... I am missing the graphics.

Little information setup.
Using Tomcat 5.5.17 with the ISAPI redirector for IIS

On the developement server all looks okay either via localhost or by using <server.com>/jforum-...
Copied (via FTP) to the certication server and editted the server information in the jforum-custom.conf file.
I did stop Tomcat before the ftp then restarted.
NOTE: the new server is HTTPS were the develoment one is not.

Please see attachment.


[originally posted on jforum.net by obiweb]
 
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
Looks like you aren't finding the style sheets. Do a view source and see what your style sheet links look like.


[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
Same on localhost and via the server
<style type="text/css">@import url( /jforum-qik/templates/default/styles/style.css?1175274081563 );</style>

<style type="text/css">@import url(/jforum-qik/templates/default/styles/en_US.css?1175274081563);</style>

The css files are in the correct folder.
What does ?1175274081563 do and how is it set?

John


[originally posted on jforum.net by obiweb]
 
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
Here is some additional information

All of the top links work, except for the missing style sheets.
Search Recent Topics Member Listing Back to home page
My Profile My Bookmarks Private Messages Logout [Admin]

I use the administtor login then try to go the the Administrator Control panel at the bottom of the page and I get 2 404 errors left side and center-right

/jforum-qik/admBase/login.page



[originally posted on jforum.net by obiweb]
 
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
I think that is is a problem with the security (external) that we use on our system.

I will give updates.

Thank you for your help.

[originally posted on jforum.net by obiweb]
 
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
I tested on another website the same server that does not have SSL loaded.

All of the problems went away.

Because of security standards we must use SSL.

What is the fix to make this work under an SSL site?


[originally posted on jforum.net by obiweb]
 
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
Our business needs requires that we runn under SSL.
You use IIS / Tomcat with ISAPI redirector.

We have not problem on our development server which is not SSL but going the certification and production we have to use SSL.

Durring testing we found out the the style sheets were not working in SSL and some of the links (admin console) failed.

I created a temp site that is not SSL on the same server that had the SSL website loaded. This test site worked good.

Can I make edits in the JForum code to make is work with SSL.

John


[originally posted on jforum.net by obiweb]
 
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
Only thing that I can think of are:

1) Double check that the css files exist in your templates styles directory and are readable by the user id that your app server is running under. The default template styles are in:

<jforum webapp root>/templates/default/styles

2) Are you using some sort of security manager in addition to SSL? In other words, is the page not getting the styles because the the security manager is denying them.

3) It could be related to a browser bug. The templates import the style sheets using the css @import statement. E.g.:



This is the "correct" way to do this but is relatively new compared to the older method of:



Try editing your template header.htm and convert the @import statements to the older format.
[originally posted on jforum.net by monroe]
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic