Solve NAT problems on a Java EE application
HelloI'm developing a Java EE application for communication of the browser and browser where the user has known IP of user B, applications for connection via a port, and user B responds to the request.
The main problem is that the two users are behind a NAT, so just with the IP address and the port is not possible to connect.
What options I have to solve this problem without forcing users to change their NAT configuration?
Thank you!
Either you have peer-to-peer and users should get the right NAT configuration,
or if you have a server that each client connects to.
Tags: Java
Similar Questions
-
Problem with the Java Web Application
Hello
I have a web application.
The web server is in the time zone CST and the DB server in zone PDT.
When we input a date of the browser say '2011-09-26 + 05:30 ' we who convert in milliseconds and save in DB, which is 1316975400000 for the example above.
When we have to be back the date that we convert milliseconds to date to end of server that is in the time zone PDT and ends in "25/09/2011.
A Solution I found when I did was:
"To pass a Date and a time zone; Jet lag, we stayed was the time zone by default for the customer. On the side server, we have shaped the date by using the zone passed from the client is not using the server's default time zone. »
Please let me know if it is the ideal solution, or there at - it another way to do it.
It is a general problem and responded to many forums. But still I wanted to check if there is another solution for this.
Thank you828549 wrote:
Please let me know if it is the ideal solution, or there at - it another way to do it.Yes: Do not save the zone at all; It simply adds unnecessary objects. And do not convert to milliseconds first. Simply store the date as a SQL Date or Timestamp.
Java dates, and most date from database, I know, are stored as compensation from a point fixed in time ( same point anywhere in the world) then, unless you use a very obscure (and non-standard) database, the JDBC driver must be able to convert a java.sql.Date in internal format of the database without any problems.
Then, when you want, just use the normal methods of the db for the display. They will take care to display the correct time for the local time zone.
Winston
-
After you install the update, I get this message on a Facebook '502 Bad Gateway application
Nginx' what is the problem and how do I solve the problem?See also:
-
Why my iPad back to the homescreen when on another application how can I solve this problem
WWhen I go to Google or something, why it goes back to the home screen, and how do I fix.
I'm doing my food and hygiene but it keeps going back to the home screen and I have to start everything again very frustrating
Thanks, hope someone can help me solve this problem
Double click on the home button and drag the apps are shut up. Then hold down the sleep/wake and the "home" button until the Apple logo appears. Also, take a look at the following article. If an application you have installed unexpectedly closes, unresponsive or won't open - Apple Support
-AJ
-
Is anyone else having problems with execution of Java based applications on Windows 7 RC?
tried to play Pogo, said that Java is not installed, so I installed Java and restarted the browser, still no action.
Hi ImpalaManiac,
Thanks for posting on community forum ' Getting Ready for Windows 7»
Are you able to play Pogo games with no Add-ons in IE? Click on start ORB / all PROGRAMS / System Tools / Internet Explorer - no add-on. Are you able to play Pogo games then? Are you able to load Java then and that made Java allow the game to play.
If the steps above helped you, one of the Add-ons that was ongoing is damaged. You want to add components back one at a time and try to play the POGO game between each add rear Add-ons until the corrupt addon is identified.
To do this in IE click Tools / Manage Add-ons / you should find on the left side of the window of 4 or 5 categories of modules. Click on each category and section of the middle right click window an addon at a time, and then select enable you should be able to do this when right-clicking on the add-on status field.
Please let us know if this helps you to solve this problem, or if assistance is needed.
Kind regards
Debbie
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think. -
Hello
When starting my laptop (Windows vista), pop - up warning message indicating c:\program can affect the function of other applications, by naming to c:\prgram1 will solve the problem options: would you like it to remane, or ignore it.
Can you help me
Thank you
Original title: Cprogram
Hello
Method 1:
I recommend you put the computer to boot.
How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
http://support.Microsoft.com/kb/929135
Note: After troubleshooting, be sure to set the computer to start as usual as mentioned in step 7 in the above article.
Method 2:
You can also scan your computer the Microsoft Security Scanner, which would help us to get rid of viruses, spyware and other malicious software.
The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.
http://www.Microsoft.com/security/scanner/en-us/default.aspx
Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.
Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.
Hope this information is useful.
-
I received and after the British insatalling encyclopedia and this application cannot be open.showing the "Startup MFC application has stopped working". How can I solve this problem? IM using Vista Home Basic 32-bit.
It comes with Vista, upgrade install and activate Forum.
Try in Vista programs Forum:
http://social.answers.Microsoft.com/forums/en-us/vistaprograms/threads
See you soon. Mick Murphy - Microsoft partner
-
How to solve this problem of ASDM and Anyconnect VPN with same java version?
Hi two things that I can't the same Java version. I want to launch ASDM and also be able to connect on the web page through web browser (SSL vpn). Java is a pain. If my PC uses java 1.6.0.32. the ASDM is easily accessible, but cannot open my web page through web browser. If I install java 7, the Web page can be opened, but ASDM cannot be opened. Can someone tell how to solve the problem? Thank you
Hello
You can probably try 2 things here: -.
Please go to control panel > Java > go to the Security tab > lower to medium security.
You can also use Java version 45.Kind regards
Dinesh MoudgilPS Please rate helpful messages.
-
Program does not start. Error message "could not start because its side-by-side configuration is incorrect." How can I solve this problem?
Program does not start. Error message "could not start because its side-by-side configuration is incorrect." How can I solve this problem?
Solved!
-
Original title: message 'warning of file name '.
In the last week or so, I get a warning box appears on my desktop (from Windows 8) whenever I start. He said "there is a file or a folder called"c:\Program"that could cause some applications don't work does not correctly." Rename it to "c:\Program1" would solve this problem. You want to rename now? "and there are 2 options:"Rename"or"ignore ". I have "Binged", and there are a few very old discussions about it (like 5 + years ago) and the consensus seems to be that it is a matter of Windows. What should I do to get rid of him?
OK, so here is how I SOLVED this problem.
In my case while studying this on a device of clients, I found that a VOIP program caused this problem and the error message popped up, and rename the folder won't work because the program is running.
Then I found the voip program (in the taskbar in this case) and closed. I then found the file that needed change of name, "c:\program" and renamed to 'c:\program1 '.
Then restarted the computer and... Don't pop up.
I hope this helps.
-
Notice of missing components of applications. Reinstalling does not solve the problem
Failed to move files from lightroom to photoshop. Download "among application components are missing from the application directory. Please reinstall the application. Reinstalling does not solve the problem. "Edit in photoshop" not effective
Hello williamj,.
Please use clean tool to uninstall the application-
https://helpx.Adobe.com/creative-cloud/KB/CC-cleaner-tool-installation-problems.html
see the help document for install it again-
https://helpx.Adobe.com/creative-cloud/help/manage-apps-services-desktop.html
You can also check I get a message "among application components are missing from the application directory, please reinstall the application. .
Let us know if that helps.
Kind regards
Mohit
-
When I open my application on my Macbook pro using bootcamp, the photoshop CS3 opens very low. How can I solve this problem?
Legacy versions do not support the higher resolutions / poster of the retina. Refer to this:
My UI elements appear tiny. | Error postal codes of Mylenium
Mylenium
-
Hi all, after happily using CC for almost a year he no longer works: the creative cloud icon continue on spinning and when I try to open ANY CC applications a warning saying "Adobe Application Manager is needed to solve this problem. However, it is missing or damaged. Please download and install a new copy ecc ecc. Tried all that but I'm stuck. any help, please? Thank you.
Hello
Please try following steps depending on your operating system
(Windows)
(1) close adobe all processes in the Task Manager (Core sync services for the desktop application adobe, adobe office, broker CIB Adobe updater AAM service)
2) navigate to the following locations and assign all permissions to the adobe folders to the current user. (Right click on adobe folder select properties then click on the Security tab, click on edit and select current user, that you are connected to, select full control, click on apply and then ok)
C: / / program data (to view hidden files to see this folder)
C: / / program files 86 x files / common
C: / / program files x 86.
C: / / program files common files
C: //program files.
Go to c:/programdata/Adobe and oobe and rename it oobe.old
Go to c: / / programfiles86x/common files/adobe/and rename the oobe oobe.old and aamupdator to ammupdator.old and delete the folder Adobe application manager
Go to c: / / Users/username/appdata/local/adobe/rename in oobe to oobe.old and aamupdator.old aamupdator
Go to Control Panel/Add or remove programs and uninstall cloud creative app
Install app creative cloud from link according to https://creative.adobe.com/products/creative-cloud
Run it and it should work.
(MAC)
(1) close adobe all processes in the activity monitor (cloud Creative), synchronization of the base, CC, ccx, services for the desktop application adobe, adobe office, CIB Adobe updater AAM Broker service
2) navigate to the following locations and assign all permissions to the adobe folders to the current user. To navigate, click on go in the bar on then click goto... type/library/application support of / and then click OK.
(3) to assign the authorization right click on adobe folder and click on Get info... A window will open. Then click on the lock symbol to allow editing. Then click on sign + to add your user name. Then change read only to read and write. Then click gear icon on the bottom and click on apply to the elements included and click ok... Go to the next step then.
3) navigate to the location following support/adobe application and rename in oobe to oobe.old and aamupdator.old aamupdator.
(4) place you ~/Library/application support/adobe/oobe and rename in oobe to oobe.old and aamupdator.old aamupdator.
Cloud creative library and remove 5 open application).
(6) open utility library of the application itself and delete Adobe application manager and creative cloud
(7) install creative cloud from link according to https://creative.adobe.com/products/creative-cloud
(8) launch cc app and it should work properly
-
Hi all, I am wanting to know how to solve this problem, I will have with my creative cloud downloads. I am trying to cancel the application Adobe Acrobat DC and it download it again. But it's frozen on the "cancellation of...» "and don't move. I use a mac, I can't redownload until it is gone from the top of the cloud. Can someone tell me if this has happened to them before and what I can do to remove it so I can redownload. Ive put a picture below so that you can understand what I mean.
Hello
Click the "Finder" on your dock to Open a Finder window. Click on 'Applications' in the side bar of the Finder window to see your Mac applications. In this folder, double-click the folder "utilities". Double-click the "Activity Monitor" icon to access the application.
Now exit Adobe all associates of process as creative cloud, CC, CCX, Core sync, broker CIB Adobe and then launch creative cloud app again and try to download Acrobat.
-
HelloW friends,
I try to install CS6 in my MacBook, but it displays error.
Adobe Application Manager is needed to solve this problem, however it is missing or damaged. Download a new copy of Adobe Application Manager or install this product again.
Please tell me how to solve the problem of teas.
Kind regards
Billon
Please use cleaning tool to remove Adobe Application Manager and reinstall it using this Windows | Macintosh link
Maybe you are looking for
-
What should I do if I want to format my laptop but I don't have the recovery
Hello I have a Toshiba Satellite Pro P100, about 5 years ago I bought it. Here is the story, I want to format my laptop but I don't have the recovery or Installer Windows Vista DVD disc, the operating system is pre-installed when I bought it. I know
-
Hello I was wondering why I can't see the videos in the link of doco HP ePrint http://h30434.www3.HP.com/T5/eprint-print-apps-mobile-printing-and-ePrintCenter/getting-started-with... There is a white black square displayed for each type. The videos h
-
Need help to find and install the game Chess Titans Windows Vista for XP
Need help to find and install the game Chess Titans Windows Vista for XP
-
HelloI have internet café, I buy all new computer with process of amd le1661 and ram is 2 GB, but my computer is very slow please tell me what ineed to dothanxMicheline