Ghostship: runs the windows proxy application "Ultrasurf" as a daemon

I like to run "Ultrasurf" with wine on Archlinux, because it is a free and for that pretty fast nice proxy application which tunnels everything through SSL. While doing so, I've started writing scripts that automate things for me. Lately I decided to advance these scripts even further to a fully functional daemon I call ghostship. So here's a quick overview what that daemon does:
* Create its own user and group to limit its rights
* Set up a wineprefix
* Install/update Ultrasurf
* Install the needed dlls by downloading and installing the m$ visual c++ runtime
* Runs Ultrasurf hidden in a vnc server, thus no GUI will be annoying you
* Sends data through Ultrasurf from time to time, to make sure that it keeps connected
* If Ultrasurf is not connected for whatever reason, it restarts the whole vnc server
Feedback is welcome
Homepage, AUR

This is partly what I needed:
* To change this template, choose Tools | Templates
* and open the template in the editor.
package daemon;
import java.util.Timer;
import java.util.TimerTask;
import java.util.logging.Level;
import java.util.logging.Logger;
//import javax.swing.Timer;
* @author arthur
public class Daemon
    public static void main(String[] args)
        int delay = 5000;   // delay for 5 sec. before start
        int interval = 1000;  // iterate every sec.
        Timer timer = new Timer();
        timer.scheduleAtFixedRate(new TimerTask()
            public void run()
                // Task here ...
                log(Level.INFO, "Hello World");
        }, delay, interval);
    private static void log(Level level, String message)
        Logger.getLogger(Daemon.class.getName()).log(level, message);
}

Similar Messages

  • I recently subscribed to acrobat pro. I downloaded it, but can't open it. I keep getting the window saying application quit unexpectedly.  I running Mavericks. Is that a separate download? Where do I get it?

    I recently subscribed to acrobat pro. I downloaded it, but can’t open it. I keep getting the window saying application quit unexpectedly. I running Mavericks. Is that a separate download? Where do I get it? I downloaded on Safari. Should I have used Firefox?

    Hi Kenglade,
    Are you still facing this issue?
    If yes please try follow below mentioned steps and let me know if that helps:
        1. Start you Mac in Safe Mode: http://support.apple.com/kb/HT1564?viewlocale=en_US
        2. Once you are in Safe mode, Disk repair using Disk utility: https://us.battle.net/support/en/article/repair-disk-permissions-and-repair-disk
        3. If the above steps didn’t help, you may try to enable root account and check the issue from there
        How to enable root account: http://support.apple.com/kb/PH14281 
    Regards,
    Ajlan Huda.

  • I am not able to run a Windows Azure application

    I have a very strange issue.
    I am not able to run a windows azure application which has a WCF service and mschart in it. Following are the steps to reproduce the error:
    1) Create a new windowsazureapplication with a blank asp.net webrole
    2) Now add a new WCfService
    3) run to check it runs ok
    http://i.stack.imgur.com/1g6gW.png
    4) now in one of the pages include mschart, and open the design of the page to make sure the webconfig is changed to use the mschart.
    5) now try to run the project.
    I am getting error message like this one:
    enter image description here
    Is this a problem with windows azure or am I doing somthing wrong?
    FYI: This is not my first project on windows azure.
    RuchitRami

    As far as I know Toshiba doesnt support such Microsoft stuff so I think Microsoft is the right adres for such issues.
    Have you already checked what Microsoft say about that?

  • How do I prevent the Window Office applications from launching when my iMAC boots or recovers from sleep? I've tried System Preferences however the Office programs are not listed?

    How do I prevent the Window Office applications from launching when my iMAC boots or recovers from sleep? I've tried System Preferences however the Office programs are not listed?

    lunagirl wrote:
    The first 3 apps listed are not installed because I have not run the activation assistant for the Office trial that came with the T61.  Add/Remove programs has only these pre-installed apps:
    Microsoft Office 2003 Web Components
    Microsoft Office 2007 Primary Interop Assemblies
    Microsoft Office Small Business Connectivity Components
    MS SQL Server 2005
    MS SQL Server Native Client
    MS SQL Server Setup Support Files
    MS SQL Server VSS Writer
    Is the activation assistant one of them?
    No, AFAIK should be listed as Microsoft Office Suite Activation Assistant
    Rgds,
    Ahti

  • Re: Running the same (Forte) application multiple times -for different

    Hi
    We had the same problem - how to deploy a number of identical applications, using each their own db.
    (for training).
    The solution we used is to wrap the entire application into different applications by using a very small
    module called KURSUS01, KURSUS02 etc, that did nothing but call the start procedure of the main app.
    Then in the dbsession connect, we made a call appname to get the application name, and appended the
    first 8 chars to the dbname. Thus our dbnames now points to logicals name: rdbdataKURSUS01, rdbdataKURSUS02 etc.
    All this allows us to deploy the identical apps in the same env, or change one version, and run both the old
    and new program on the same pc and server at the same time (eg. KURSUS01 and KURSUS02).
    I also think this is a kludge - but it works nicely!
    Jens Chr
    KAD/Denmark
    -----Original Message-----
    From: Haben, Dirk <[email protected]>
    To: 'Soapbox Forte Users' <[email protected]>
    Date: 15. januar 1999 09:41
    Subject: Running the same (Forte) application multiple times - for different business clients.
    Hi All
    We have a number of different business clients all willing to use our
    application.
    The (forte) application is to run on our machines etc for these (business)
    clients.
    All (business) clients will have their data kept in separate Oracle DBs
    (instance).
    The problem now is that the entire (forte) application is written using
    DBSessions.
    Now, depending on what business client needs to be serviced (so to speak) we
    need to attach to the right DB - or use the "right" SO.
    The two options we can think of are:
    Option1:
    Programatic change to somehow "know" what (business) client (DB) I'm talking
    about and then use the right DB.
    Pro:
    Only one forte environment to maintain
    Can run multiple (business) clients on same PC at the same time
    Con:
    Requires many program changes
    bending O-O rules(?)
    can't dynamically name SOs so can it be done at all? (ResourceMGRs maybe?)
    Option2:
    Use separate environments! One for each business client.
    Pro:
    More defined separation of app and data,
    SLA-easy
    Con:
    Maintain "n" number of environments
    Can only run the application for one environment (business client) at a time
    on one PC - Big Negative here!
    Not knowing any feasible solution to option 1 (without much code changes and
    developer moaning) I would go for option two; as I have already worked on
    multi-environment setups on VMS back at the Hydro (hi guys).
    I would appreciate any comments from anyone who has solved this problem.
    How, Why Pro Con etc.
    TIA,
    Dirk Haben
    Perth, WA
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hi
    We had the same problem - how to deploy a number of identical applications, using each their own db.
    (for training).
    The solution we used is to wrap the entire application into different applications by using a very small
    module called KURSUS01, KURSUS02 etc, that did nothing but call the start procedure of the main app.
    Then in the dbsession connect, we made a call appname to get the application name, and appended the
    first 8 chars to the dbname. Thus our dbnames now points to logicals name: rdbdataKURSUS01, rdbdataKURSUS02 etc.
    All this allows us to deploy the identical apps in the same env, or change one version, and run both the old
    and new program on the same pc and server at the same time (eg. KURSUS01 and KURSUS02).
    I also think this is a kludge - but it works nicely!
    Jens Chr
    KAD/Denmark
    -----Original Message-----
    From: Haben, Dirk <[email protected]>
    To: 'Soapbox Forte Users' <[email protected]>
    Date: 15. januar 1999 09:41
    Subject: Running the same (Forte) application multiple times - for different business clients.
    Hi All
    We have a number of different business clients all willing to use our
    application.
    The (forte) application is to run on our machines etc for these (business)
    clients.
    All (business) clients will have their data kept in separate Oracle DBs
    (instance).
    The problem now is that the entire (forte) application is written using
    DBSessions.
    Now, depending on what business client needs to be serviced (so to speak) we
    need to attach to the right DB - or use the "right" SO.
    The two options we can think of are:
    Option1:
    Programatic change to somehow "know" what (business) client (DB) I'm talking
    about and then use the right DB.
    Pro:
    Only one forte environment to maintain
    Can run multiple (business) clients on same PC at the same time
    Con:
    Requires many program changes
    bending O-O rules(?)
    can't dynamically name SOs so can it be done at all? (ResourceMGRs maybe?)
    Option2:
    Use separate environments! One for each business client.
    Pro:
    More defined separation of app and data,
    SLA-easy
    Con:
    Maintain "n" number of environments
    Can only run the application for one environment (business client) at a time
    on one PC - Big Negative here!
    Not knowing any feasible solution to option 1 (without much code changes and
    developer moaning) I would go for option two; as I have already worked on
    multi-environment setups on VMS back at the Hydro (hi guys).
    I would appreciate any comments from anyone who has solved this problem.
    How, Why Pro Con etc.
    TIA,
    Dirk Haben
    Perth, WA
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • I have Remote desktop connection for my mac running osx 10.6.8 and I have a windows xp laptop, I want to have my mac be able to run the windows xp from my pc, how do I do it?

    I have Remote desktop connection for my mac running osx 10.6.8 and I have a windows xp laptop, I want to have my mac be able to run the windows xp from my pc, how do I do it?

    Hello Fiona,
    Congratulations on your new iPhone!  You can sync information to your iPhone from your MacBook Pro using the Info tab in iTunes when your iPhone is connected.  Use the steps in the following article:
    iOS: Syncing your data with iTunes
    http://support.apple.com/kb/ht1386
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Help:How can I run the J2EE Client Application? Thanks

    Help:How can I run the J2EE Client Application that will access the remote J2EE1.4 application server which runs on another host computer?
    I have developped a stateles senterprise java bean name converter and deloyed it in the j2ee1.4 application server on the host machine A. The converterbean provides the remote home interface and remote interface. At the same time I have developped the j2ee application client named convertappclient. When I access the conveter bean at host computer A through the script 'appclient.bat' as 'appclient -client convertappclient.jar', the client can access the bean sucessfully. Now I want to access the bean through the script 'appclient.bat' at host computer B,what files should I copy from host computer A to host computer B;and what the command line should be like? Thanks!
    The following are the code of the enterprise java bean and it's home interface .
    The client code is also provided.
    The enterprise java bean:
    package converter;
    import java.rmi.RemoteException;
    import javax.ejb.SessionBean;
    import javax.ejb.SessionContext;
    import java.math.*;
    public class ConverterBean implements SessionBean {
    BigDecimal yenRate = new BigDecimal("121.6000");
    BigDecimal euroRate = new BigDecimal("0.0077");
    public ConverterBean() {
    public BigDecimal dollarToYen(BigDecimal dollars) {
    BigDecimal result = dollars.multiply(yenRate);
    return result.setScale(2, BigDecimal.ROUND_UP);
    public BigDecimal yenToEuro(BigDecimal yen) {
    BigDecimal result = yen.multiply(euroRate);
    return result.setScale(2, BigDecimal.ROUND_UP);
    public void ejbCreate() {
    public void ejbRemove() {
    public void ejbActivate() {
    public void ejbPassivate() {
    public void setSessionContext(SessionContext sc) {
    The bean's remote home interface :
    package converter;
    import java.rmi.RemoteException;
    import javax.ejb.CreateException;
    import javax.ejb.EJBHome;
    public interface ConverterHome extends EJBHome {
    Converter create() throws RemoteException, CreateException;
    The bean's remote interface:
    package converter;
    import javax.ejb.EJBObject;
    import java.rmi.RemoteException;
    import java.math.*;
    public interface Converter extends EJBObject {
    public BigDecimal dollarToYen(BigDecimal dollars) throws RemoteException;
    public BigDecimal yenToEuro(BigDecimal yen) throws RemoteException;
    The j2ee application client:
    import converter.Converter;
    import converter.ConverterHome;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.rmi.PortableRemoteObject;
    import java.math.BigDecimal;
    public class ConverterClient {
    public static void main(String[] args) {
    try {
    Context initial = new InitialContext();
    System.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
                   System.setProperty("java.naming.provider.url","jnp://10.144.97.250:3700");
    Context myEnv = (Context) initial.lookup("java:comp/env");
    Object objref = myEnv.lookup("ejb/SimpleConverter");
    ConverterHome home =
    (ConverterHome) PortableRemoteObject.narrow(objref,
    ConverterHome.class);
    Converter currencyConverter = home.create();
    BigDecimal param = new BigDecimal("100.00");
    BigDecimal amount = currencyConverter.dollarToYen(param);
    System.out.println(amount);
    amount = currencyConverter.yenToEuro(param);
    System.out.println(amount);
    System.exit(0);
    } catch (Exception ex) {
    System.err.println("Caught an unexpected exception!");
    ex.printStackTrace();
    }

    Surprisingly I find an upsurge in the number of posts with this same problem. I recently found a post which gave a nice link for this. Follow the steps and it should help:
    http://docs.sun.com/source/819-0079/dgacc.html#wp1022105

  • Can Windows 8 Consumwe Preview run the Windows Support Software from Bootcamp?

    Hi guys,
    I was wanting to install Windows for a long time for gaming compatibility (No other need for that rubbish) and I didn't want to buy Windows 7 so I thought maybe I could run the Windows 8 Consumer Preview instead as it is free (and probably a little bit more tolerable). But then I thought can it run the Windows Support Software from Bootcamp?
    Please can you answer my question,
    Many Thanks,
    Louis Attfield

    You really want to look at other threads. Not knowing what Mac all I can see is most things work the same or better but a few mostly minor won't.
    Why not download burn and try and then tell us? one tip: the burn needs to be slowest reduced burn speed.
    GPU and audio drivers you have to (Windows 7 also) uninstall Apple's and then install a proper driver.
    Rubbish. Usually I just pass when I hear that word.

  • Error while running the  mobile webdynpro application in PDA

    HI All,
    I have created an online mobile Web Dynpro application. We have deployed the application in the portal and its working fine.
    Now I am trying to run the applicaiton in a PDA via the portal link and it is giving error.
    Scripting Alert:
    An error occured while starting the iView.Application
    /Webdynpro/dispatcher/sap.com/pb/PageBuilder;jsessionid=(hostname_systemID_system Number) Will run with a wrong client window ID! Do not continue Please report this problem to your administrator.
    These are my PDA configuration :
    PDA with OS = WM 6.0
    Crème = CrEme329_ARM_CE42_PPC.exe
    DB2E 9.22
    Please provide the solution or hints to solve the problem.
    Thanks and Regards
    Neha Mahanty
    This is the configuration of my PDA :-
    OS = WM 6.0
    Crème = CrEme329_ARM_CE42_PPC.exe
    DB2E 9.22

    HI Ashutosh,
    I tried with both PieClient and Pie03Client.
    http://Hostname:Port/webdynpro/dispatcher/accenture/Dashbrd/SupervisorApplication?SAPtestId=8sap-wd-client=PieClient
    http://Hostname:Port/webdynpro/dispatcher/accenture/Dashbrd/SupervisorApplication?SAPtestId=8sap-wd-client=Pie03Client
    But I got the same results :-
    1. The button is not working.
    2. I cannot select any particular order as the List box is displayed like a box with all the orders visible in the screen.
    3. and obviously the date field is not working and I'll try with the drop down.
    Can you please suggest what else should I try.
    Thanks and Regards
    Neha Mahanty
    Edited by: Neha Mahanty on Oct 14, 2008 12:58 PM

  • FIRST TIME RUNNING THE DEFAULT BSP APPLICATION IN ABAP

    Hi BSP experts,
            I am happy to see many people are solving the problems on BSP in sdn.
    I am running the bsp application for the first time by taking the t-code se80 into consideration and executing the default bsp application given there.But I am getting the error   The URL http://nwrbcs:8000/sap/public/bsp/sap/system/login.htm was not called due to an error.The error is common as to all RABAX_STATE and in addressbar the address displayed is
    http://nwrbcs:8000/sap/public/bsp/sap/system/login.htm?sap-url=%2fsap%2fbc%2fbsp%2fsap%2ftutorial_1%2fdefault%2ehtm&sap-ffield_b64=c2FwLXNlc3Npb25jbWQ9b3Blbg==.
    Mainly my problem is i am not able to goto logon page.I am using the version Netweaver’04 to run this application.Are there any special prerequisites to run a bsp application.I had donwe some settings in t-code SICF all services are activated(subservices also) and in path /default_host/sap/bc/bsp rightclick display service in handler list tab I added CL_HTTP_EXT_BSP. In RZ10 I added the parameter icm\host_name_full (as I am using workgroup instead of domain in my system) for instance profile.In t-code SCICM status is running.
    If not clear with the above details I will send the screenshots of required t-codes and runtime errors to the mail-id immediately.
    But I am not able to retrieve the problem.Is it necessary to check any kernel updates.I don’t know more about that, I will send the required screenshots clearly to know all the details.I will send the trace file also if u need.It is very urgent for me to work on bsp but I can’t.If u r  familiar with particular version I will send that screenshots as I tried it in 4.7ee(R/3),ECC5.0(R/3) AND Netweaver’04(abap).I am getting different errors in all the three versions.pls go through this and help me.
        Helpful answer will be rewarded unfailed.

    you need to configure the FQDN. That is causing the issue in your case.
    the URL shd start something like abc.mycompany.com:port_number...
    Refer below thread & blog:
    /people/durairaj.athavanraja/blog/2005/08/21/running-your-first-bsp-application-in-sap-netweaver-04-abap-edition--nsp
    - step by steby link to configure the FQDN - Re: Unable to run any BSP application
    Raja T

  • RFC Error while running the extended fiori application

    Hi experts,
                When i run extended fiori application in fiori launchpad i am getting 500 internal server error in the console. When i run the transaction in the NGW with t-code /IWFND/ERROR_LOG i am getting error as shown in the snapshot.
    please help me with this.
    Thanks & Regards,
    Lahari

    Hi Jamie,
    My Component.js file has the following contents:
    jQuery.sap.declare("zcus.sd.salesorder.create.Component");
    // use the load function for getting the optimized preload file if present
    sap.ui.component.load({
      name: "cus.sd.salesorder.create", 
      /*url: "http://igtbilsap025.igatecorp.com:8000/sap/bc/ui5_ui5/sap/sd_so_cre"*/
      url: jQuery.sap.getModulePath("zcus.sd.salesorder.create") + "/../SD_SO_CRE"
      // we use a URL relative to our own component; might be different if
      // extension app is deployed with customer namespace
      /*url:http://:port/sap/bc/ui5_ui5/sap/hcm_lr_cre"
    cus.sd.salesorder.create.Component.extend("zcus.sd.salesorder.create.Component", {
      metadata: {
      version : "1.0",
      config : {
      "sap.ca.i18Nconfigs": {
      "bundleName":"zcus.sd.salesorder.create.i18n.i18n"
      "sap.ca.serviceConfigs":[{
      name:"SRA017_SALESORDER_CREATE_SRV",
         masterCollection : "SalesOrders",
         serviceUrl :URI("/sap/opu/odata/sap/SRA017_SALESORDER_CREATE_SRV/")
         .directory(),
         isDefault :true,
         countSupported : true,
         useBatch : true,
         mockDataSource : jQuery.sap.getModulePath("zcus.sd.salesorder.create") + "/model/metadata.xml"  
      customizing: {
      "sap.ui.viewExtensions":{
      "cus.sd.salesorder.create.view.SalesOrderCreateCart":{
      "extSOCCartTableColumnHeader": {
      className: "sap.ui.core.Fragment",
      fragmentName: "zcus.sd.salesorder.create.view.extSOCCartTableColumnHeader",
      type : "XML"
      "sap.ui.controllerExtensions": {
      "cus.sd.salesorder.create.view.SalesOrderCreateCart":{
      controllerName : "zcus.sd.salesorder.create.view.extButton"
    and in view folder i have  extSOCCartTableColumnHeader.xml and extButton.controller.js files
    In extSOCCartTableColumnHeader.xml i have placed :
    <core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core">
    <contentRight>
    <Button xmlns="sap.m" text="{i18n&gt;PLACE_ORDER}" press = "doPlace" />
    </contentRight>
    </core:FragmentDefinition>
    In extButton.controller.js i have placed:
    sap.ca.scfld.md.controller.BaseFullscreenController
    .extend(
      "zcus.sd.salesorder.create.view.extButton",{
      doPlace : function(e) {
      this.salesOrderCreate()
      salesOrderCreate : function() {
      var c = this.oApplicationFacade
      .getApplicationModel("soc_cart");
      var s = {};
      var t = this;
      if (c.getData().PurchaseOrder === undefined) {
      c.getData().PurchaseOrder = ""
      if (c.getData().NotesToReceiver === undefined) {
      c.getData().NotesToReceiver = ""
      if (c.getData().ShippingInstructions === undefined) {
      c.getData().ShippingInstructions = ""
      s.SingleShipment = c.getData().SingleShipment;
      s.SalesOrderSimulation = false;
      s.SalesOrderNumber = "0";
      s.PO = c.getData().PurchaseOrder;
      s.RequestedDate = c.getData().singleRdd;
      s.CustomerID = c.getData().CustomerNumber;
      s.SalesOrganization = c.getData().SalesOrganization;
      s.DistributionChannel = c.getData().DistributionChannel;
      s.Division = c.getData().Division;
      s.ShipmentInstruction = c.getData().ShippingInstructions;
      s.NotesToReceiver = c.getData().NotesToReceiver;
      s.ShipToPartnerID = c.getData().PartnerID;
      s.OrderItemSet = [];
      var a = c.getData().oShoppingCartItems;
      var b = sap.ui.core.format.NumberFormat
      .getIntegerInstance({
      minIntegerDigits : 6,
      maxIntegerDigits : 6
      var j = 0;
      for ( var i = 0; i < a.length; i++) {
      if (a[i].isVisible == true) {
      var C = {};
      C.Quantity = a[i].qty;
      C.UnitofMeasure = a[i].UOM;
      C.RequestedDeliveryDate = a[i].RDD;
      C.Product = a[i].Product;
      C.SalesOrderNumber = a[i].SalesOrderNumber;
      C.ItemNumber = b.format(10 * (i + 1));
      C.Currency = a[i].Currency;
      s.OrderItemSet[j] = C;
      j++
      t.oSOCartModel
      .create(
      "/SalesOrders",
      s,
      null,
      function(d, r) {
      t.salesOrderCreated(r.data.SalesOrderNumber)
      }, function fnError(e) {
      var d = t.oApplicationFacade
      .getResourceBundle()
      .getText("ERROR");
      cus.sd.salesorder.create.util.Utils
      .dialogErrorMessage(
      e.response, d)
      salesOrderCreated : function(s) {
      var t = this;
      sap.ca.ui.message.showMessageBox({
      type : sap.ca.ui.message.Type.SUCCESS,
      message : cus.sd.salesorder.create.util.Formatter
      .formatSuccessMessage(s),
      }, function() {
      cus.sd.salesorder.create.util.ModelUtils
      .resetCartKeepCustomers();
      t.onNavigateHome()
    Thanks & Regards,
    Lahari

  • Run - Debug project option is disabled to run the CVI RT application

    Hi,
    I am new to CVI Real time. I have taken the example code LoopTimingRT.prj and LoopTimingHost.prj from CVI samples directory. I am planning to run RT and host in the same desktop PC.  I have created two seperate workspaces for RT and Host with their respective projects.For RT, target is given as local desktop computer, target type selected as dll, in target settings, Run time support is mentioned as Real Time Only.
    In CVI Real Time Help and also in Getting Started with Labwindows/CVI Real Time pdf, it is mentioned like we have select Run -> Debug Project to run the RT application. When i am trying to do that, that option itself is disabled in RT workspace.
    Please can anyone help me.
    Thanks,
    Haari

    Hi,
    As suggested by Raman you can go ahead with same step.
    Regards,
    SM

  • ClassFormatError while running the code on application server

    Hi all,
    I have written some code which compiles and executes fine on JDeveloper but when I deploy the same code on Oracle Application Server it gives me ClassFormatError.
    The class which is giving the error is a simple Java Class, which is called by an ApplicationModule for doing the computation.
    JDeveloper version is 10.1.3.3.0
    Oracle AppServer version is 10.1.3
    Any help will be greatly appreciated.
    Below is the original stack trace:
    [06/10/2009 10:42:40 ERROR RtnAcknHandler:437] Error :: saveAcknForm in RtnAcknHandler
    com.demo.example.core.exception.GenericApplicationException: java.lang.reflect.InvocationTargetException
         at com.demo.example.core.manager.ApplicationModuleManager.callApplicationModule(ApplicationModuleManager.java:76)
         at com.demo.example.returns.ackn.service.RtnAcknServiceImpl.saveAcknForm(RtnAcknServiceImpl.java:16)
         at com.demo.example.returns.ackn.handler.RtnAcknHandler.saveAcknForm(RtnAcknHandler.java:422)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.demo.example.core.manager.HandlerManager.invokeHandler(HandlerManager.java:83)
         at com.demo.example.core.handler.FrontRequestHandler.handleRequest(FrontRequestHandler.java:161)
         at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:476)
         at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:441)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at com.validation.utils.serversidevalidation.ServerSideValidationFilter.doFilter(ServerSideValidationFilter.java:81)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.demo.example.core.manager.ApplicationModuleManager.callApplicationModule(ApplicationModuleManager.java:71)
         ... 26 more
    Caused by: oracle.classloader.util.AnnotatedClassFormatError: Invalid length 65523 in LocalVariableTable in class file com/demo/example/returns/common/service/ReturnsITCasService
         Invalid class: com.demo.example.returns.common.service.ReturnsITCasService
         Loader: demoapp.web.webapp:0.0.0
         Code-Source: /D:/product/10.1.3.1/OracleAS/j2ee/DEMOAPP/applications/demoapp/webapp/WEB-INF/classes/
         Configuration: WEB-INF/classes/ in D:\product\10.1.3.1\OracleAS\j2ee\DEMOAPP\applications\demoapp\webapp\WEB-INF\classes
         Dependent class: com.demo.example.returns.ackn.appmodule.RtnAcknAMImpl
         Loader: demoapp.web.webapp:0.0.0
         Code-Source: /D:/product/10.1.3.1/OracleAS/j2ee/DEMOAPP/applications/demoapp/webapp/WEB-INF/classes/
         Configuration: WEB-INF/classes/ in D:\product\10.1.3.1\OracleAS\j2ee\DEMOAPP\applications\demoapp\webapp\WEB-INF\classes
         at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2285)
         at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1462)
         at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:167)
         at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1674)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at com.demo.example.returns.ackn.appmodule.RtnAcknAMImpl.saveAcknForm(RtnAcknAMImpl.java:1454)
         ... 31 more
    Caused by: java.lang.ClassFormatError: Invalid length 65523 in LocalVariableTable in class file com/demo/example/returns/common/service/ReturnsITCasService
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2241)
         ... 39 more
    Edited by: user593821 on Oct 6, 2009 4:07 AM

    Hi,
    the exe has a GUI interface, with all types of windows User interface elements such as comboboxes, editboxes, grids, etc...
    I don't believe that is posible to do, but asked anyway in case i was wrong.

  • Is it possible to run the Windows XP environment from an external HD?

    I just purchased a MacBook Pro and need to run navigation/mapping applications written for windows only. I would rather not fill up the internal HD with XP and associated Apps.
    Is it possible to install bootcamp or VM Fusion etc, Win XP and associated apps and run them on an external usb drive connected to my MacBook Pro?
    TIA

    BootCamp Discussion:
    http://discussions.apple.com/category.jspa?categoryID=237
    This is the workstation Mac Pro, not MacBook series.
    If you want Windows installed natively on its own partition, you can't use external USB or FW or eSATA, must be internal.
    A virtual machine and its associated disk file image that is used in OS X can be anywhere you want.
    Fusion supports BootCamp partitions, but isn't req'd.
    http://communities.vmware.com/community/vmtn/desktop/fusion

  • How to run the report via application server

    Report not running?
    hi All,
    I am calling the report via forms, In application server i had recompiled the reports in two different format too.
    1. myreports.rep
    2. myreports.jsp
    I have called the report from the menu and i used code like below
    Declare
          V_id Varchar2(100);
    Begin
        V_id := Run_Report_Object('myreports');
    End;but i am getting following error.
    Frm-41219:Cannot find report:Invalid ID.and subsequently an another too.
    Frm-40738:Argument 1 to builtin RUN_REPORT_OBJECT cannot be null.please guide me
    kanish

    I using Forms 10g R2, i store the recompile version in Application server.
    Good, so you can refer to the metalink note I mentioned above, as per storing the reports in the application server, the default place for running reports is not a folder in the FORMS_PATH, the REPORTS_PATH is set in the $ORACLE_HOME/bin/reports.sh file, pointing by default to the sample folder - $ORACLE_HOME/reports/samples/demo, for testing purposes you can put your report there and try it again, or you can modify the REPORTS_PATH variable in the reports.sh file to point to the directory you were mentioning.
    Note: I am calling the report throug menu using the eariler posting code.
    I would recommend to create a Form to call the Report, I am not sure if there are restrictions about invoking a report directly from the menu.
    About the code, you are missing a lot there, refer to metalink note mentioned above, here is an excerpt from that document.
    PROCEDURE TEST_REPORT IS
      repid      REPORT_OBJECT; 
      v_rep      VARCHAR2(100); 
      rep_status VARCHAR2(50); 
    BEGIN 
      repid := find_report_object('report5');
      SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH); 
      SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
      SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
      SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'html');
      SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'repserver90');
      SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no pdeptno='||:dept.deptno);
      v_rep := RUN_REPORT_OBJECT(repid); 
      rep_status := REPORT_OBJECT_STATUS(v_rep); 
      WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
        LOOP
          rep_status := report_object_status(v_rep);
        END LOOP;
      IF rep_status = 'FINISHED' THEN
        /*Display report in the browser*/
        WEB.SHOW_DOCUMENT('http://<YourServerName:8888/reports/rwservlet/getjobid'||
       substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver90','_blank');
      ELSE 
        message('Error when running report'); 
      END IF; 
    END;
    In my eariler version 6i (2 tier) when i call the report it invoke parameter form. will 10g also behave same like 6i?
    Yes, there is still a parameter Form which runs in an HTML page.
    *1. Should i want to create any Report_Path, Report_classpath ? if yes ,where should i ?* It will depend on your configuration, the easiest way is to setup the REPORTS_PATH in the $ORACLE_HOME/bin/reports.sh file, if you are configuring the reports server to use environment ids, that would not work and you would need to setup the REPORTS_PATH directly in the reports engine configuration file .. $ORACLE_HOME/reports/conf/rwserver.template.
    Edited by: Rodolfo Ferrari on Jun 3, 2009 3:19 PM

Maybe you are looking for

  • ASK THE EXPERTS:Branch Office Wireless Strategies

    With Jeevan Patil Welcome to the Cisco Support Community Ask the Expert conversation. This is an opportunity to ask how to consolidate your Wireless Branch Network Cisco subject matter expert Jeevan Patil. Mr. Jeevan Patil is a product manager for th

  • Xml not working on CSS11500

    We previously used CSS 11000 series and made some scripts with xml files to perform some actions on it. This was working fine. No we replaced these Css'es with CSS11500 series. When i now run these scripts on the CSS11500 i get the message: AUG 8 13:

  • Dyanamic select

    hello all, How can i write a dynamic select query for range of values? regards T

  • Google visualization charts

    I tried to add minor changes to the google visualization plugins but they were not taken into effect when the charts were rendered. Take, titlePosition and legend.position, for example. <pre> l_legend_position varchar2(30) := 'top'; apex_javascript.a

  • Unlock blackberry 8700V from Vodafone

    I have Blackberry 8700V old mode, But its exclusive for vodafone netowork that means i can use only Vodafone sim in my mobile..so  can any body help me in unlocking it from vodafone so that i can use other operators in my blackberry