File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes code deployed on unix server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "code deployed on unix server" Watch "code deployed on unix server" New topic
Author

code deployed on unix server

naveen gupta
Ranch Hand

Joined: Apr 12, 2006
Posts: 129
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

Joined: Jul 06, 2005
Posts: 1016
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

Joined: Apr 12, 2006
Posts: 129
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

Joined: Jun 25, 2001
Posts: 15629
    
  15

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
naveen gupta
Ranch Hand

Joined: Apr 12, 2006
Posts: 129
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

Joined: Jun 25, 2001
Posts: 15629
    
  15

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

Joined: Apr 12, 2006
Posts: 129
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: code deployed on unix server
 
Similar Threads
remote debug hot code replace
File Creation using IO
Java code to Download a file from Server
Memory leaks
NetBeans Web Service client attempt