• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

code deployed on unix server

 
naveen gupta
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSF application when i am running locally it looks good on my laptop

When i deployed the web application on DEV box ( unix server )

i see some format issues. How to explain this..................

Some Textboxes are out of area, issues like that

My question is where do i start to fix this issues. Only difference is the code running on my laptop which is Windows and deployed code is running on UNIX box

 
Stefan Evans
Bartender
Posts: 1692
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Theoretically the same server code, should produce the same HTML code.

Are you running it on the exact same browser and seeing differences?
ie access your laptop with the browser and access the dev site with the same browser.

- Does it produce the same output html (within reason)
- Are all the necessary stylesheets etc successfully loaded (use fiddler or firebug to check for any resources not sent)

 
naveen gupta
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes, same browser


let me do one thing
I will right click on the page and will click on "view page source" and will compare both of them

and i will also try the firebug and let's see what does it says
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18100
51
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The operating system used by the server should make no difference. However, the appserver software might. Recent (JEE) full-stack webapp servers come with JSF built into the server, but it might not be exactly the same implementation or version of JSF as the one you're using on your desktop. Furthermore, if you develop and test using Tomcat (which doesn have built-in JSF) and then deploy to JBoss or WebSphere (which do), there could be a conflict between the internally-supplied JSF implementation code needed to run under Tomcat and the JSF implementation code that's already in the server.
 
naveen gupta
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am using jboss 5.1 on both my laptop and on the server

Anyway, i found the issue. One quick point, the remote server is not UNIX server but LINUX server

If you read RichFaces Guide for supported browsers. Then RichFaces is not supported for IE on LINUX server. It supports Firefox and Opera browsers

http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/TechnicalRequirements.html

After reading this supported browser requirements. I tested using Firefox browser for the application deployed on remote server LINUX
and it works PERFECTLY


 
Tim Holloway
Saloon Keeper
Pie
Posts: 18100
51
Android Eclipse IDE Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ummmmmmmmmm. I'm afraid you misinterpreted that.

The reason why they don't list IE for Linux is because there is no IE for Linux. That's the client OS, they're referring to, not the server OS.

I can confidently that, on behalf of myself and all my app users that RichFaces does run just fine on a Linux server and (Windows) IE clients.

IE, however, is notoriously bad at adhering to web standards. For the most part, RIchFaces adapts to the user's browser and smooths out a lot of the IE quirks. The only place I've seen it to really differ noticeably is in the margins and padding on JSF Form objects, and that may actually not be RichFaces fault, since the "h:form" isn't RichFaces, it's core JSF.

Any style information you provide yourself will, alas, have to be tested in IE and non-IE environments unless your audience is exclusively enslaved to IE. RichFaces makes the job slightly more complex, since the RichFaces skins provide a lot of style information themselves and you'll need to co-ordinate with that, but that's not a problem unique to RichFaces.

Fortunately, most of the major browsers (including IE and Firefox) come with tools that can help you analyze the unexpected shifts in layout. Don't forget, however, that the user's "compatability mode" selection for IE can also shift stuff, since IE is not only at variance with the published standards, but varies from release to release as well as which DTD is in effect when the page is rendered.
 
naveen gupta
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i got your point

i quickly came to my conclusion when i saw it works fine in firefox when i tested the code deployed on LINUX server

anyway, i will try to do more testing and see
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic