Web app works in sunone but after moving to tomcat it won't

My web application works just fine in sunone studio, but once I move it to tomcat by creating a war file, it wont.
the part of app that doesn't work is the file and directory copy part. everthing else is fine:server access, database connectivity, and login.
if the files and directory are there, it is working, but if they are not there it won't create the directory and copy the file, what it is supposed to do.
one thing I noticed was the browsers status bar:
running it from sunone, it comes up like this:
..//localhost:8080/...
running it from tomcat, it comes up like this:
..//127.0.0.1:8080/
I don't know if that is a clue to a problem.
I am working under window2000 server.
any hint or suggestion would be great.
Thanks,
James

Well the localhost vs. the IP address cannot be the cause for the problem. From what you are saying is that the application actually works and the WAR does get deployed and the application does some file system operations and those do not work.
That can be for several reasons, make sure that the security manager in the external Tomcat allows this and also that there is read/write access to place you are trying to do the filesystem operations to. Are those directories inside your context path?
Also, some exception stacks would be helpful.
Regs Jirka

Similar Messages

  • Hi,   My photo stream used to work fine.  But after removing all the photos to separate folders in my computer, my new photos are no longer streaming to my PC.  They appear in the photo stream on my other devices - iPhone5 and iPad Mini.  It's just my PC

    Hi,
    My photo stream used to work fine.  But after removing all the photos to separate folders in my computer, my new photos are no longer streaming to my PC.  They appear in the photo stream on my other devices - iPhone5 and iPad Mini.  It's just my PC that's missing the photos.
    When I open the iCloud control panel, I cannot turn on the photos.  That option is ghosted.  I'm running on Windows 7 with iCloud 3.0.  Any ideas on how I can fix this?  All help is appreciated!  Thanks!

    Hi Kevinmvb,
    Welcome to the Support Communities!
    The article below may be able to help you with this.  It sounds like you may have moved your photos out of the Uploads folder where they need to reside.
    iCloud: My Photo Stream troubleshooting
    http://support.apple.com/kb/TS3989
    Cheers,
    - Judy

  • I have always been able to open e-mail photo attachments even after trnsferring them to the desktop or a thumbdrive, but after moving the last two

    I have always been able to open e-mail photo attachments even after transferring them to the desktop or a thumbdrive, but after moving the last two to the desktop and trying to open them I get the message that ColorSync is unable to open files of this type. I believe they are jpegs.

    When I attach a PDF to Apple Mail on Mountain Lion, it is an icon. When I send it to an iCloud mail destination, the attachment arrives and is presented as an icon, whether on OS X, or in IOS 6.
    I suspect that the recipient's mail user agent is responsible for the full image .vs. icon behavior, and there is nothing you can do to prevent it.

  • My mac recently got stolen, after getting a new one i had to reinstall logic studio, but after moving house i have lost the serial number, does anyone know how to get a new one?

    my mac recently got stolen, after getting a new one i had to reinstall logic studio, but after moving house i have lost the serial number, does anyone know how to get a new one?

    Here:
    http://support.apple.com/kb/HT1861

  • HT201398 Why won't podcast app work on iPhone 5 after ios 8.1.3 update?

    Why won't podcast app work on iPhone 5 after ios 8.1.3 update?
    I've restarted the phone and itunes several times, have uninstalled and reinstalled the app on the phone and itunes separately, and it still just shows 'Installing" under the greyed out app.

    I have the same problem with an iPhone 5s. All podcast fail to work on the phone since updating to iOS 8.1.3. What is going on? Is Apple taking this problem serious?

  • I've used Project Web App on Sharepoint 2013. After clear job queue about force check-in then I've got this error. This made me can't access some pages in PWA anymore e.g. Project center, Resoure center, PWA setting, etc.

    I've used Project Web App on Sharepoint 2013. After clear job queue about force check-in then I've got this error. This made me can't access some pages in PWA anymore e.g. Project center, Resoure center, PWA setting, etc.  Who have ever found this problem,
    pls. help.
    The pop up error msg. is "Sorry, you don't have access to this page"

    Hi,
    According to your description, after you cleared job queue about force check-in then you can't access some pages in PWA.
    Maybe you need to check in the pages which has been checked out.
    If you have administrative rights, it is possible to override the check-out via the View All Site Content page:
    Site Actions->View All Site Content->Pages->Hover the item you want to check in, and from the context-menu (arrow-down next to the filename), choose "Discard Check Out"
    Besides, to troubleshooting the error “Sorry, you don't have access to this page”, refer to the following articles:
    http://sharepoint.rackspace.com/sharepoint-2013-troubleshooting-an-access-issue-with-a-custom-master-page
    http://technet.microsoft.com/en-us/library/ff758656(v=office.15).aspx
    In addition, as this issue is related to project server, I suggest you create a new thread on project server, more experts will assist you:
    https://social.technet.microsoft.com/Forums/projectserver/en-US/home?category=project
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • I have iPhone 4. After I upgraded to ios5 I have a problem with Wi-Fi connection with "WPA enterprize" protection. I can define the connection and everything works fine. But after I lose signal or shutoff the WiFi, I cannot re-connect, and need re-define

    I have iPhone 4. After I upgraded to ios5 I have a problem with Wi-Fi connection with "WPA enterprize" protection. I can define the connection and everything works fine. But after I lose signal or shutoff the WiFi, I cannot re-connect, and need re-define the net. It is only in WPA enterprize.
    Thanks,
    Eyal

    I tried this! Somebody suggested it in another thread. It did not work, sadly.

  • I have just opened my brand new Macbook Pro and I'm a first time mac user. I have tried to download flash to enable me to watch you tube clips, but on trying to download it, it says I need to close Safari but after doing so, it still won't respond.

    I have just opened my brand new Macbook Pro and I'm a first time mac user. I have tried to download flash to enable me to watch youtube clips, but on trying to download it, it says I need to close Safari but after doing so, it still won't respond. Any tips? Help?

    Actually you need to quit Safari which is different from closing.  With Safari open go the menu bar for Safari/Quit Safari. 
    Mac 101:  Get Started Using A Mac 

  • Office Web Apps - working in other browsers but not Internet Explorer

    Hi there,
    I have office web apps on my SharePoint 2013 environment.  The previews work file when hovering next to a document but if I try to open it, I get "Sorry, we ran into a problem".  It looks as though Excel files open okay but I
    have tested Word and Powerpoint documents and I get this error.  Also, it only appears to happen in Internet Explorer - Google Chrome and Firefox are okay.  Any ideas?

    Thanks for the advice.  I installed the hoftix (on the OWA server) and now it appears to really be broken - nothing is opening using office web apps anymore.
    I found this blog with the same errors I am getting - I'm guessing I will need to uninstall etc. too?? 
    http://blogs.technet.com/b/dodeitte/archive/2013/03/29/issue-with-automatic-updates-enabled-amp-office-web-apps-server-2013-update.aspx

  • We had migrated our servers from a domain to cloud. all the web applications working fine locally, but from outside they are accessible but on editing giving 404 with some request id.

    hi all,
    recently we migrated our moss 2007 from a domain to cloud env. everything goes well and all the application working fine locally.
    but when users are trying from outside first they get promt for basic auth, that is enabled, its fine. then servers serve first page smoothly. all the application browsing is fine. but when authorized users are trying to edit a web page and they click on
    anything(save, submit for publication, publish) they get 404 with a request ID. another thing if they add a new page to app and then make any changes to that page then they are not getting any issue.
    please help if any one resolved that kind of issue.
    thanks in advance.
    SJ

    Hi Sumanpreet,
    Thanks for posting your issue, Kindly check out below mentioned URLs to get the fix for this issue
    http://www.sharepointdiary.com/2011/02/404-page-not-found-error-sharepoint-2010-migration.html#ixzz2jHyVIFcX
    http://vasya10.wordpress.com/category/sharepoint-2010/sharepoint-2007-to-2010-migration/
    https://social.technet.microsoft.com/Forums/en-US/d80e7495-e889-4209-9a0a-82a852c944b1/after-migration-from-moss-2007-to-sharepoint-2010-i-tried-to-check-the-site-with-site-url-getting?forum=sharepointadmin
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Java sound app works on Mac but not on Windows

    I am working on a program that needs to play a sound Clip and it doesn't work on XP but it does on OS/X.
    I've reduced the problem to this simple test program. On my PC, the sound I hear on the speakers is just a little burst of noise, whereas it's fine on my Mac. I used one of XP's system wav files, and verified that it does play normally on the PC via other means (iTunes, etc.). I'm using the latest JDK/JRE everywhere. Here's the sample code. Anything obviously wrong here?
    import java.io.*;
    import javax.sound.sampled.*;
    class ClipTest
        public static void main(String args[])
                try
                    Clip soundClip;
                    AudioInputStream soundStream;
                    File audioFile = new File("CHIMES.WAV");
                    soundStream = AudioSystem.getAudioInputStream(audioFile);
                    AudioFormat format = soundStream.getFormat();
                    DataLine.Info info = new DataLine.Info(Clip.class, format);             
                    System.out.println(format.toString());
                    soundClip = (Clip)AudioSystem.getLine(info);
                    soundClip.open(soundStream);
                    soundClip.start();
                catch (Exception e)
                    e.printStackTrace();
    }

    Solved my own problem: adding a Thread.sleep(1000); after starting the Clip worked. Looks like the app was terminating before the sound could finish playing. Obviously something is different between the way the Mac and XP JRE handles the sound thread with respect to the rest of the app.

  • Office Web App - Use for viewing but not for editing

    Hello,
    i'm searching for a possibility to use the web app server only for viewing documents but not for editing.
    I want to accomplish this for docs and ppts.
    So the possibility to edit in Web App should be greyed out or even better, vanish completely.
    Best regards
    Stephan

    You can remove the bindings for OWA for some actions.
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/34948782-74cb-452c-af32-af260a7f988a/document-library-new-document-office-web-apps-server?forum=sharepointgeneral

  • Workshop App Works on Admin but Not On Managed Server

    Hi all, I have a very simple test Workshop App that works fine on an Admin server
    but not on a Managed Server. I have all the JMS and JDBC resources that the apps
    need, the console does not complain, they deploy fine, but for some reason I get
    exceptions when deployed to the Managed server but works fine on the Admin server.
    What's the difference between both servers? I start one with startWebLogic.cmd
    and the other one with startManageWebLogic.cmd in the same domain directory. The
    only resource that I have not been able to target to the managed server is WSStoreForwardInternalJMSServercgServer
    which I have no idea what it is or if it matters. Some portions of the app works
    when deployed to the managed server so I know it has deployed fine and some simple
    pages compile and work fine but when using certain JAR files in the lib directory
    I get weird exceptions on the managed server and not on the Admin server.
    I'd appreciate any help.
    Thanks, Jose

    Hi all, I have a very simple test Workshop App that works fine on an Admin server
    but not on a Managed Server. I have all the JMS and JDBC resources that the apps
    need, the console does not complain, they deploy fine, but for some reason I get
    exceptions when deployed to the Managed server but works fine on the Admin server.
    What's the difference between both servers? I start one with startWebLogic.cmd
    and the other one with startManageWebLogic.cmd in the same domain directory. The
    only resource that I have not been able to target to the managed server is WSStoreForwardInternalJMSServercgServer
    which I have no idea what it is or if it matters. Some portions of the app works
    when deployed to the managed server so I know it has deployed fine and some simple
    pages compile and work fine but when using certain JAR files in the lib directory
    I get weird exceptions on the managed server and not on the Admin server.
    I'd appreciate any help.
    Thanks, Jose

  • App works when exported, but not in FlashBuilder

    I have an AIR drag-and-drop app that uses NativeDragEvent.NATIVE_DRAG_ENTER
    The app works as intended when I export it for release.   When I run or debug with FlashBuilder the application does not acknowledge files of any type being dragged over it. 
    Again, when the application is installed, it works great.  I'm dragging and dropping without issue.  This only happens when I'm running the app from FlashBuilder.  This isn't a big deal, but it is annyoing.
    Any ideas?

    I suspect this is where my issue lies, but I am not sure how
    to fix it. I have attached some code that defines the image
    location. I am able to successfully retrieve documents with the
    following, is this the same type of scenerio,
    http://www.skytitleagency.com/documents/Land_Contract.doc,
    except in the images folder ?

  • I bought an app long time ago but after an upgrade i can't find it

    Long time ago I bought an app on my iphone (typedrawing), last week accidentally i made an upgrade but no a security copy, now I can't find this app, what sould I do???
    any know where I can find, or if there is any record of purchased apps? at the downloaded apps section is not, and I really don't want to buy the application again

    The app is typedrawing and first i downloaded the free version, then i bought it, but after the upgrade i lost all my apps, pics, videos, etc. I reinstalled all that i could but this app was no there, i know was my fault no make a security copy but i mean it would be possible have a record that i bought this app, oder?
    sorry for my terrible English, and thanks for answering

Maybe you are looking for

  • Problems starting Server on OSB 11g

    Hi Everybody, I have a problem, I just installed the Service Bus 11g on Red Hat and I have problems when I start the server. I particular first I start the Admin_Server without any exception and then I start the Server but I get this excedption: PATH

  • ITunes 11.1.3.8 Crash while transferring music

    Hi Team, I'm facing this issue since last three iTunes versions. It crashes when i transfer music. I'm not able to update my iPod and iPad. Any help would be appreciated. Thanks, Varun

  • File receiver: Create empty file named "start.txt" at end of process

    Hello, When my file adapter finish the generation of file at the receiver server I want to create another empty file at the same directory named "start.txt". The use of that file if for a scheduled task of OS that only starts a process if start.txt f

  • Only 6 songs (out of 200) played when shuffling a playlist!

    I have a playlist consisting of over 200 'songs' (itunes/ipod think they're songs but they're actually language lessons). All songs are listed and if I play one, the playlist contains all items. However as soon as I press 'shuffle', the playlist goes

  • Setup LWSelect 360 to print from mini mac ethernet socket

    I would like to run my 360 direct from the mini mac ethernet socket but I don't know how this is done. My cable modem is connected to Airport which is plugged into the wall socket. My HP1018 USB is connected to the Airport. My HP 5740 USB is connecte