i have a problem with my webapp
Im using tomcat 6 + jr6 in Windows 10 and Windows 2003 Server, the problem is that when i use Windows 2003 Server for loading the app it doesnt apply the same styles as in Windows 2010 (pics down), i have problems downloading files from the server too (only in Internet Explorer and with the app in Windows 2003 Server)
Also in Windows 2003 Server jsps seems to load much slower than Windows 2010 (same machine different SO)
PS. I have used Windows 2010 internet explorer for all tests
The question is, is that possible ?
I thought that only java version and tomcat version applys to this
Windows 2003 Server + Tomcat 6 + JRE6 + Internet Explorer
Windows 2010 + Tomcat 6 + JRE6 + Internet Explorer
This is just how web browsers work: they have their own default styles and if you don't override them, you get the defaults.
The biggest difference I see between your two screenshots is the shape of the "Guardar Escritura" button at the bottom: in the above image, the button has square corners and in the image below it has rounded corners.
You have full control over button display using CSS. It looks like you need to add some more styles to your stylesheet to ensure that your page looks the same on all platforms.
Note that most MSIE/Edge versions have similar defaults. You may be surprised when you load your page in Firefox, Chrome, or Safari.
Related
Can't solve the problem in Java Web Application. The application has been in production for several years now, I only add new functionality if necessary. For the last half of the year, all that had to be done was to update the libraries. But starting from December last year, it began to “freeze” for clients.
The functionality of the application is to work with documents of various formats: uploading to the server, deleting a document, creating previews, and downloading files. When uploaded to the server, the files are converted to .pdf format. So, the application is running on Windows Server 2016 Standart 10.0.14393 Build 14393 x64-based PC and LibreOffice 6.4.x.x is also installed, WildFly 20.0.0 Final on which the application is launched.
The task was to upgrade LibreOffice 6 to 7. I read the release notes and did not find anything that would prevent me from upgrading the LibreOffice version. We installed version 7.1 (just in December), then the problems started.
The problem is that when loading a file in the .docx/.doc format, the file is not loaded correctly, the preview is “broken”, and the “unkillable” soffice.bin/.exe processes remain on the server in the Task Manager.
As it turned out later, clients use barcodes in documents (but for 4+ years), and I also go to the “File” property in LibreOffice and choose “Properties…”, so I find the checkbox for embed fonts is enabled. If this checkbox is removed, then everything works correctly on any version of LibreOffice. But with it, starting from version 6.4 inclusive and higher - the program “freezes” for 2 minutes. This is the timeout limit in jodconverter per process.
However, if I do the same manipulations on my local machine where Windows 10 is installed, then everything works fine for me, as well as on other local machines. The problem is only on Windows Server 2016, which we have for tests, as well as for clients.
What I tried on the server: I installed the old version of the Java application from 2020 year and LibreOffice 6.4 and 7.1 - it still doesn't work. I took the latest version of the Java application, but LibreOffice 6.0 - 6.3 (inclusive) - and everything works. I also installed font with barcodes from a file - Free 3 of 9, it also did not help for LibreOffice 6.4 and higher.
Installing LibreOffice 6.0 also installed Microsoft Visual C++ Redistributable 2015 x64, I thought that was the problem. But after trying different combinations, I was not successful in solving the problem. At the moment, Microsoft Visual C ++ Redistributable 2015-2022 x64 and Microsoft Visual C ++ Redistributable 2017 x86 are installed on the server. Guided by this article.
Regarding Microsoft Visual C ++ Redistributable, I read an article that earlier, when installing LibreOffice, this package was also installed in a parallel process, but Microsoft changed the license to use the software or something like that, and then The Document Foundation stopped inserting into the LibreOffice installation file Microsoft Visual C++ Redistributable.
I want to note that the problem is not in the specification of files or barcodes since I created a completely empty document on the server, through LibreOffice, in the .docx / .doc format and put the font checkbox - it also “freezes”, and all the symptoms that I described above appear.
I came to the conclusion that the involvement of the Java application itself, fonts, or the .docx / .doc format in the error is unlikely, although not excluded.
Can you tell me the solution or where to look for the problem?
Perhaps someone will encounter it in the future, I solved the problem by switching from Windows Server 2016 to Windows Server 2019.
I used tomcat5.5 to access the server, and then logged in succssfully.
Then I accessed one page and it said " applet will appear in a separate window.
Note that the Graph Author requires the Sun Java plugin, version 1.4 or newer.
Please be patient, it may take a while to download all the classes of this applet. "
I waited for like 15 mins, and still there was nothing.
Does it mean that I need to wait more than 15 mins? or is there any problem on my computer?
I installed newest version of java sdk 8.
I tried this on IE, Firefox, Chrome, and I changed all settings that enables java scripting in browser.
*One thing is that when I start the window it says that tomcat is not working?(or is not avaliable, sth like that). However after I enable service, it works so that I was able to access the server.
We are trying to download something from GE that uses Java to download when logging into the site. This is a windows 7 Professional PC. I have other computers that are able to do this successfully. Here is my order of operations:
Log into the site and select the file I want to download
Click download
It takes me to the page that says it will start in a few seconds but nothing happens. It is supposed to have a box that asks for Java to run.
I have reinstalled Java fresh and still nothing. Tried with multiple user accounts. Added the site to the list of exceptions in the firewalls and Java configuration. I have tried an earlier version of Java. This happens in Mozilla, Chrome and IE. I have made sure that the Java plugin shows up and is enabled. I just cant think of what I am missing. And since we are a contractor GE is not going to help us. Can anyone here think of anything?
Are you sure you have the Java plugin enabled? e.g. in Firefox, go to Settings, Plugins, and change Java Platform SE8 'Next Generation Java Plugin' to 'always activate'?
This sounds similar to the issues I had with Cisco WebVPN, Java-style. Once you have Java installed correctly and set as a plugin for any of the browsers you would like to use, see below.
Before you even start looking at browsers - if you think it is already set up correctly
Look at your Anti-Virus programs or anything else that could prevent it from working. McAfee Host Intrusion Protection is known to cause many Java programs to fail. Kapersky had issues, a while back, with Java on Windows (Java Applets not loading in Windows 8 ).
You must have a 64-bit browser to use 64-bit Java (also mentioned in the Chrome link below).
See below for any specific things that can be modified in the browser.
Chrome 43 is the more complicated browser to set up. They have a dedicated page with instructions.
How do I use Java with the Google Chrome browser?
Firefox 38 will prompt you.
In Internet Explorer 11, it's under Internet Options->Security. I recommend adding the hostname the applet is on as a Trusted Site (Select Trusted Sites and click the Sites button, then add the first part of the url). Click the Custom level button and make sure that Scripting of Java applets is not disabled.
If you still have problems with the applet:
Verify your Java version will work with the applet you are accessing
Verify the plugin is enabled for the browser through the Java Control Panel, which is available in Windows Control Panel, or on Mac/Linux, execute it from the JDK directory ($JAVA_HOME/ControlPanel ).
I ended up fixing the issue. I had to allow their UK site on the list for Java and enable the SSL 2.0 for HTTP in Java config as well
I have a java web application installed on a server which is accessed via intranet. It worked well when i run it on a client pc with Windows XP and IE 6, with Jinitiator. The problem comes when i run it on Windows 7, on any updated browser. The IE in Windows 7 stops responding whenever i enter the particular url for my application.
I tried to run it on other browsers like Mozilla and Netscape but they give me the plugin error for Jinitiator. In fact i downloaded the plugin and installed it for for both the browsers but still the browser cant find any plugin.
When i researched about it i found that the Jinitiator is only compatible for windows not higher than Windows xp and Browser only IE6 not higher.
I am confused about whether it is ony the JVM version problem or i have to get into the code of the application. Till now i have no access to the code of the application.It was developed by some other company in 2006 which is petty much dead by now. Can any body suggest me any solutions on what can i do to solve this compatibility problem. How can go by it and from where i should start?
You can exchange the JInitiator with Suns/Oracles Java Plugin. If you have access to metalink have a look there.
You find some outdated information at:
http://www.oracle.com/technetwork/developer-tools/forms/clientsod-forms10g-094744.html
http://www.oracle.com/technetwork/testcontent/readme-101362.html
If you have no idea of the topic try to get help from Oracle or one of there business partners. You probably have to update environment for getting support for newer versions.
All,
I have a web site that's built with GWT at https://penwag.com/penwag/. If you just hit the site and see the main page, there's supposed to be a login/registration area that displays, along with a teaser for the site. I've tried the site with most of the main browsers - FF 3 & 3.5, IE 6 & 8, Safari, and Chrome, and all appears well to me.
However, I have a non-geek user that has visited the site from both work and home. The work computer can see the intro page fine, but the home computer shows only the static content, and non of the javascript-based portion, that is the login/registration and teaser. Both computers are using IE 8. He checked the computer where the site fails, and scripting is enabled.
Can anyone else see the problem? (You don't have to register to see the problem, just hit the main page.) Anything else I should check or have him try?
Thanks!
Edit:
The site is implemented using GWT 1.7.0.
I'll have to find out about the OS versions.
Edit:
The one that works is running Windows XT, the failing one is running Windows Vista. (There's a shocker!) I myself have viewed it successfully with both OSs.
Edit:
I've since completely re-structured the site, and documented the changes here:
http://penwag.blogspot.com/2010/04/april-penwag-update.html
So, the site is no longer the same as when I asked this question.
There are a lot of possibilites what can cause such a problem.
At first force your user to refresh cache in IE:) There are a lot of cases when you have updated your application, but users are still using the old version because of cache.
If doesn't help, you have to make sure that user doesn't see any errors. Those can be cause by a lot of things, such as different locale, default language and etc. By default, when an error happens in IE, a warning sign is displayed in left bottom corner. Ask your user for a screenshot, to check if such error is present, and then ask him to send you this error. This might help.
At last ask the user to launch IE in no-extensions mode. If your site works fine in this mode, it means that some extension have broken the functionality of your site.
I am running IE 8 on Windows XP SP3 and I do receive an error when trying to access your page linked above.
To try and pinpoint where in your code the problem is happening, you could try compiling your GWT application using the PRETTY or DETAILED style flag.
code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.html#Why_is_my_GWT-generated_JavaScript_gibberish?
Error:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2)
Timestamp: Thu, 12 Nov 2009 02:13:32 UTC
Message: Exception thrown and not caught
Line: 1430
Char: 182
Code: 0
URI: https: //penwag.com/home/06C3015B261A5DD1F637E9F95A5AF26C.cache.html
I am also experiencing a similar problem when trying to load a GWT application that I've been working on (works fine on Firefox and works fine on other installations of IE 8). The error with my GWT app loading in IE 8 seems to happen when it tries to make its first RPC call to the server. Uninstalling and reinstalling IE 8 (and Service Pack 3) have not been successful in resolving this.
Update:
After debugging the javascript running in my instance of IE 8, i was able to track down a solution to this problem. GWT 1.7.0 has a known issue (issue 3927, issue 4163) where GWT RPC calls will fail in IE 8 if the native XMLHTTP support is disabled. This setting can be found at the following location:
Tools->Internet Options->Advanced->Security->Enable native XMLHTTP support
Try using latest GWT build 1.7.0, according to relase notes:
Updated GWT libraries to support IE8
I tried with IE 8 (version 8.0.7100.0, running on Windows 7 RC) and page renders fine.