Primefaces Fileupload Listener not invoked - primefaces

I am using the Prime faces file upload in advanced mode where it works fine in local system ,but in UAT the listener is not being called.why?
i tried many suggestions ,still the same issue exists.please help me.
UAT(Linux) i am using the tomee server
Local(Windows) tomcat server
primefaces 5.3
enter code here

The reason why the listener is not called is ,there is an firewall restriction to the UAT server where the server is not accepting any file uploads from other domains,only people who are in their domain can access it ,and it is working for them.

Related

Flash Builder debugger failed to connect to the running application with tomcat

I had look into similar question in the stack overflow and tried all the solutions given there, but nothing works for me.
I have a Flex Web application running in localhost with tomcat, i have used Mongrel plugin in Flash Builder to run tomcat.
I am using Firefox browser.
When I try to debug my application it is throwing below error :
The Flash Builder debugger failed to connect to the running
application.
Ensure that:
For in-browser applications, you are running the debugger version of Flash Player.
For network debugging on a mobile device, you have a reliable network connection to the device, and port 7935 is open on your
machine's firewall.
Device connection help
link : error screenshot
I did check with netstat for port 7935 and there is no service running on this port.
I also added the solutions in catalina.properties file as suggested by others in related question but it did not worked out.
kindly help me fix this problem.
Thanks in advance!
The tomcat application is probably not serving the debuggable swf from flashbuilder project. What I have in a (I believe) similar setup is: also change the output directory from your flex project to the webcontent folder of the tomcat application.
Flashbuilder generally doesn't create index.html from the template but ${project.name}.html instead. Make sure you use that when trying to debug.
{workspace}/flexapp/src/MyApplication.mxml
{workspace}/webapp/WebContent/bin-debug <-- oupput folder of flexapp
If you start the tomcat application from Flashbuilder now it will include the debuggable SWF from the flex project.
The flex output URL should then point to http://localhost:8080/myapplication/bind-debug/MyApplication.html?Authorised=true&debug=true

PhpStorm - working on a remote server

I have never used PhpStorm before for remote development because I used to work locally.
I am wondering if there is a method to set PhpStorm to work in such a way so it will be identical, in terms of functionality, to local development?
At least, debugging and jumping to functions/variables declaration across the whole project?
Tried to google it but found nothing. Maybe someone knows?
There are two ways to work with remote server development :
With a physically server
With a Virtual Machine locally
Those 2 ways are identical workflow parameters for working with this.
In PHPStorm the main area for parameters workflow deployement on remote server is : PHPStorm > Settings > Build, Execution, Deployement > Deployement
In this area you config the connection on your remote server (you before must config access on your remote server). SFTP is the best way to use this connection.
Most important to select where you want to send/push your modified code with Root path. Upload manually or use the sync auto functionality of PHPStorm use this parameter.
Mappings tabs is not very important you can keep this without change except for 'Deployement path on server' which just type '/' character if you have selected the good 'Root Path' in tab before.
For starting you can forget the Excluded Paths tab. after if you work on symfony framework you use this to exclude the vendor directory.
Don't forget to set the options 'use as Default' if you want to upload or sync auto more fastly and friendly.
Now you must parameters and config correctly your remote server for server be able to run the code which send it with PHPStorm. Dependly on your framework or other technologies you use.
Finally you have :
PHPStorm config OK for send correctly your modification code (auto or manually)
remote server config OK for executing and running correctly the code you are before sending from PHPStorm to your server remote
WARNING : you never run your website into your local OS.
IMPORTANT : config a web server on your remote server and don't forget to install layer for PHP executing script.

Google Earth Enterprise Portal 5.0 Accessible via localhost only

Good Morning. I have downloaded and installed GE Enterprise portal v5. When I start the application, it automatically launches the browser and sends me to http://localhost:9335. It loads just fine and I am able to view the image and polygon. I then close the server and open the portable.cfg and added the following line: accept_all_requests True, which us supposed to allow others to view and use the published globes and services from other machines. I then restart the application. When I try and navigate to my portal instance via another machine or via the named machine name http://9335 I get page not found. I have tried changing the ports, disabling my local firewall and HIPs with no luck. Are you supposed to be able to hit an instance of portal from a url other than localhost?
Thanks.

How to use live edit with router script in PhpStorm

I setup live edit in PhpStorm and it works great. While implementing routing in my application, I configured PhpStorm to use a routing script using the Built-in Web Server run configuration. At this point, live edit stopped working because it seems to work only with the built-in webserver and not the PHP built-in web server. (Technically, it didn't stop working, rather there were two run configurations: live edit where the links returned a 404 and a routing configuration that doesn't have live edit.)
Is it possible to use both live edit and a routing script?
Does anyone have any workarounds to using live edit or similar functionality when working on an app that uses routing? I currently have a keymap (Alt-R) setup for Reload in Browser.
I'm using PhpStorm 10.0.2 (PhpStorm-143.790) on CentOS 7.
Note: I found two issues relating to live edit and routing but neither was helpful.
https://youtrack.jetbrains.com/issue/WEB-15762
https://youtrack.jetbrains.com/issue/WI-20824
Thanks
A hint in the 2nd URL above provided a suitable workaround. The key lies in the fact the link between the browser and PhpStorm is not tied to the URL; only the tab. To make this work, you need two run configurations:
A JavaScript Debug configuration for live edit. Make sure live edit is working.
A PHP Built-in Web Server configuration with the router script enabled.
Run the JavaScript Debug configuration and it will open a tab in Chrome linked to PhpStorm. Then start the PHP Built-in Web Server configuration and change the "live edit" tab to the URL for the built-in web server. Any changes will automatically refresh the tab using the PHP Built-in Web Server configuration which contains the router functionality.
This concept can also be applied to any functionality not supported by the built-in web server, like SSL. You just need a 2nd web server (built-in or external) and change the live edit tab to the 2nd URL.

Why does the asp.net website administration tool give timeout message (mysql db)?

i have an asp.net-mvc website and I am trying to use the asp.net website administration tool but when i click in visual studio 2010 to launch it, it brings up a browser that says:
An error was encountered. Please return to the previous page and try again.
i can't click back but when i click on "How do i use this tool", i get this error:
Tool Has Timed Out
As a security measure, the Web Site Administration Tool times out after a period of inactivity. Changes to machine.config or web.config may also result in the tool needing to be restarted. To continue configuring your web site, restart the tool.
when i run my website, i am able to connect to the database fine and i am also able to insert new users through the default Account/LogOn interface.
Any suggestions on how to debug why i can't launch the admin tool ?
The project's path shouldn't contain #% or spaces
Could you please try the following:
Close your browser completely. Whether you are using IE or Firefox to test your website, you should make sure all browser windows are closed.
Kill the asp.net development server. It is located in your taskbar
Or, if you are hosting your site in IIS, force an iisreset.
Now try to run the Web Site Administration Tool again.
If it still does not work yet, could you please provide which browser you are using, and which OS and host?
The project's path shouldn't contain #% or spaces
My Project path was D:\Programming\C#\Tests\MVCApplication\
and that is what caused the problem.
I was getting the exact same error message with VS2010 .NET 4.0 framework. I created my solution in a subfolder titled "C#". Renaming the subfolder to CSharp fixed my problem.
I hope this helps.