Integrating deployment of a Batch App Service into a continuous build

We currently have TeamCity and Octopus Deploy setup to deploy all of our applications running in azure automatically.  We'd like to do the same for our cloud app and app image.
I read this thread earlier (https://social.msdn.microsoft.com/Forums/azure/en-US/1d55d207-daeb-458e-bb0b-ccf531220481/failed-to-upload-application-image?forum=azurebatch) where it sounded like I could just upload the app and app image zips directly to the
blob storage account.
I've gotten to the point where I can update the zips in the clouddrives and greenbutton-cloud-assemblies containers, but the Managed app for the service isn't updated. I can tell because we added a new supported job type to the ApplicationDefinition and
it doesn't show up in the portal.  Also when I try to submit a job with the new job type it gets rejected saying it's an unknown job type.
I've downloaded the blobs and used a decompiler to verify that the new job type is in the AppicationDefinition.
Is there some other thing I need to do to get the service to "re-load" the app? Am I on the wrong track and should attempt this another way?
thanks,
matt

Over the last couple of days, we've been creating new job types and directly uploading our zipped application (we only have 1 application) to the blob containers and we can schedule the newly defined job types without uploading through the batch apps portal.

Similar Messages

  • Job that never finishes in the Batch Apps Service?

    We have a job that never finishes, the single task that it runs says it's finished but the job never ends. I end up having to cancel it.
    The task that runs takes about 33 minutes or so to complete. Could whatever that monitors the job timeout waiting for the task to finish?
    here's the log that we see for the job
    2/25/2015 7:51:55 AM - (1) Completed task processing.
    2/25/2015 7:51:54 AM - (1) Finished uploading outputs to blob storage.
    2/25/2015 7:51:54 AM - (1) Uploading outputs to blob storage.
    2/25/2015 7:51:54 AM - (1) Task output 0 files
    2/25/2015 7:51:54 AM - (1) Completed external process.
    2/25/2015 7:19:18 AM - (1) Starting external process.
    2/25/2015 7:19:18 AM - (1) Completed assets download.
    2/25/2015 7:19:18 AM - (1) Downloading assets to local storage.
    2/25/2015 7:19:12 AM - (1) Starting task processing.
    2/25/2015 7:18:31 AM - (Job) Job splitter finished
    2/25/2015 7:18:23 AM - (Job) Job splitter started
    2/25/2015 7:18:12 AM - (Job) The job orchestrator started
    2/25/2015 7:13:05 AM - (Job) Using auto pool C14F1D31-BE60-4D02-9003-C05021B3C470
    2/25/2015 7:13:05 AM - (Job) Requesting Azure compute resources - this may take several minutes
    2/25/2015 7:13:03 AM - (Job) Job queued for processing
    2/25/2015 7:13:01 AM - (Job) Job request received

    Unfortunately, posting our code here really isn't possible.
    I can describe what we're doing and seeing.
    We're not using the batch service to run command line applications. In our task processor, we're determining what classes to create and call and call them in process.  We have a lot of job types (above 15 and counting) that we need to run, so we opted
    to combine them into a single class library and call them that way. None of our jobs output any files, all of our output get persisted to blob storage. We're using the batch service kind of as an on-demand cloud worker infrastructure. 
    It seems like the issue (jobs that never end) are random.  It's not always the same job and it's not always long running ones.  When the issue does crop up, our task completes without any errors. We do see the results of our jobs in blob storage.
     Also in our task processor, we set the TaskProcessResult's ProcessorOutput property to any messages we've logged.  We can download and see those log messages in the portal.
    We also see 2 tasks created for the job, our task and the default merge (we don't create merge tasks for our jobs).
    Would the job id's or logs help in any way?

  • Trying to use TextWriterTraceListener in Batch Apps

    I'm trying to use tracing in a batch apps service and I can't seem to get it to work.
    The code for my task processor looks like this:
    public class PCDSBatchCloudAppTaskProcessor : ParallelTaskProcessor
        static PCDSBatchCloudAppTaskProcessor()
            var textListener = new TextWriterTraceListener(Path.Combine(Environment.CurrentDirectory, "trace.log"));
            Trace.Listeners.Add(textListener);
            Trace.AutoFlush = true;
    ....etc
    Later during RunTaskExternalProcess, my code ends up calling Trace.WriteLine for some of it's operations.
    I have a separate method to build out the TaskProcessResult that looks like this:
    public static TaskProcessResult BuildTaskProcessResult(TaskResults results, params string[] outputFiles)
        TaskProcessResult taskProcessResult = new TaskProcessResult { Success = results.ExitCode == 0 ? TaskProcessSuccess.Succeeded : TaskProcessSuccess.RetryableFailure, ProcessorOutput = results.StandardOutput };
        TaskProcessResult result = taskProcessResult;
        var traceFileName = Path.Combine(Environment.CurrentDirectory, "trace.log");
        if (File.Exists(traceFileName))
            result.ProcessorOutput = File.ReadAllText(traceFileName);
        else
            result.ProcessorOutput = "missing trace.log";
    ....etc.
    Every time I run a job with this, i always get "missing trace.log" in the task output.
    Is there a way for me to use TextWriterTraceListener in my jobs? Am I doing something wrong?
    Thanks,
    Matt

    Hi Matt,
    I believe the use of a TextWriterTraceListener is supported.
    Please try using base.LocalStoragePath in place of Environment.CurrentDirectory.
    I wouldn't make any assumption that the Environment.CurrentDirectory
    is a writeable directory. You could confirm that by trying to write a file.
    Hope this helps,
    Peter

  • Error - In deploying the web services into axis

    Hello,
    I am working on deploying a webservices into axis. I have an deploy.wsdd file and I have an ant script (build.xml) for deploying that web service into axis (axis is in tomcat). After deploying I can see the services
    [http://localhost:8080/axis/servlet/AxisServlet] at this link. But when I run my web project which uses the deployed service, I am getting an InstatiationException as shown below.
    {color:#ff0000}SEVERE: Remote Connect Failure:
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.lang.InstantiationException: myexample.HelloWS
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}hostname:Personal
    java.lang.InstantiationException: myexample.HelloWS
    at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
    at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
    at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
    at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
    at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1550)
    at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1149)
    at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
    at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
    at javax.xml.parsers.SAXParser.parse(Unknown Source)
    at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
    at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
    at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at mypackage.HelloImpl.getSiteMenu(RDMInterfaceWSSoapBindingStub.java:1589)
    at mypackage.HelloImpl.getSiteMenu(RDMWebserviceImpl.java:443)
    at mypackage.HelloImplServiceClient.getSiteMenu(RDMInterfaceWSServiceClient.java:123)
    at mypackage.ApplicationBean.init(ApplicationBean.java:98)
    at com.sun.rave.web.ui.appbase.servlet.LifecycleListener.attributeAdded(LifecycleListener.java:132)
    at org.apache.catalina.core.ApplicationContext.setAttribute(ApplicationContext.java:777)
    at org.apache.catalina.core.ApplicationContextFacade.setAttribute(ApplicationContextFacade.java:335)
    at com.sun.faces.context.ApplicationMap.put(ExternalContextImpl.java:496)
    at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:287)
    at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:78)
    at com.sun.rave.web.ui.appbase.faces.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:96)
    at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:125)
    at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:146)
    at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243)
    at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)
    at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
    at com.sun.rave.web.ui.component.SelectorBase.getItems(SelectorBase.java:114)
    at com.sun.rave.web.ui.component.ListSelector.getOptions(ListSelector.java:168)
    at com.sun.rave.web.ui.component.ListSelector.getListItems(ListSelector.java:113)
    at com.sun.rave.web.ui.renderer.ListRendererBase.renderList(ListRendererBase.java:363)
    at com.sun.rave.web.ui.renderer.ListRendererBase.renderListComponent(ListRendererBase.java:164)
    at com.sun.rave.web.ui.renderer.DropDownRenderer.encodeEnd(DropDownRenderer.java:73)
    at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:720)
    at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:443)
    at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
    at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
    at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
    at com.sun.rave.web.ui.renderer.AbstractRenderer.encodeChildren(AbstractRenderer.java:194)
    at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
    at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
    at com.sun.rave.web.ui.renderer.AbstractRenderer.encodeChildren(AbstractRenderer.java:194)
    at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
    at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:435)
    at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
    at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
    at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:607)
    at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:544)
    at com.sun.faces.taglib.html_basic.PanelGridTag.doEndTag(PanelGridTag.java:460)
    at org.apache.jsp.Home_jsp._jspx_meth_h_005fpanelGrid_005f0(Home_jsp.java:541)
    at org.apache.jsp.Home_jsp._jspx_meth_ui_005fform_005f0(Home_jsp.java:368)
    at org.apache.jsp.Home_jsp._jspx_meth_ui_005fbody_005f0(Home_jsp.java:329)
    at org.apache.jsp.Home_jsp._jspx_meth_ui_005fhtml_005f0(Home_jsp.java:250)
    at org.apache.jsp.Home_jsp._jspx_meth_ui_005fpage_005f0(Home_jsp.java:223)
    at org.apache.jsp.Home_jsp._jspx_meth_f_005fview_005f0(Home_jsp.java:170)
    at org.apache.jsp.Home_jsp._jspService(Home_jsp.java:138)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
    at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:311)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Unknown Source){color}
    Please help me how to resolve this problem.
    Thx
    Chaitanya

    Hello,
    I am working on deploying a webservices into axis. I have an deploy.wsdd file and I have an ant script (build.xml) for deploying that web service into axis (axis is in tomcat). After deploying I can see the services
    [http://localhost:8080/axis/servlet/AxisServlet] at this link. But when I run my web project which uses the deployed service, I am getting an InstatiationException as shown below.
    {color:#ff0000}SEVERE: Remote Connect Failure:
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.lang.InstantiationException: myexample.HelloWS
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}hostname:Personal
    java.lang.InstantiationException: myexample.HelloWS
    at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
    at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
    at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
    at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
    at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1550)
    at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1149)
    at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
    at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
    at javax.xml.parsers.SAXParser.parse(Unknown Source)
    at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
    at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
    at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at mypackage.HelloImpl.getSiteMenu(RDMInterfaceWSSoapBindingStub.java:1589)
    at mypackage.HelloImpl.getSiteMenu(RDMWebserviceImpl.java:443)
    at mypackage.HelloImplServiceClient.getSiteMenu(RDMInterfaceWSServiceClient.java:123)
    at mypackage.ApplicationBean.init(ApplicationBean.java:98)
    at com.sun.rave.web.ui.appbase.servlet.LifecycleListener.attributeAdded(LifecycleListener.java:132)
    at org.apache.catalina.core.ApplicationContext.setAttribute(ApplicationContext.java:777)
    at org.apache.catalina.core.ApplicationContextFacade.setAttribute(ApplicationContextFacade.java:335)
    at com.sun.faces.context.ApplicationMap.put(ExternalContextImpl.java:496)
    at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:287)
    at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:78)
    at com.sun.rave.web.ui.appbase.faces.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:96)
    at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:125)
    at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:146)
    at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243)
    at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)
    at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
    at com.sun.rave.web.ui.component.SelectorBase.getItems(SelectorBase.java:114)
    at com.sun.rave.web.ui.component.ListSelector.getOptions(ListSelector.java:168)
    at com.sun.rave.web.ui.component.ListSelector.getListItems(ListSelector.java:113)
    at com.sun.rave.web.ui.renderer.ListRendererBase.renderList(ListRendererBase.java:363)
    at com.sun.rave.web.ui.renderer.ListRendererBase.renderListComponent(ListRendererBase.java:164)
    at com.sun.rave.web.ui.renderer.DropDownRenderer.encodeEnd(DropDownRenderer.java:73)
    at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:720)
    at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:443)
    at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
    at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
    at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
    at com.sun.rave.web.ui.renderer.AbstractRenderer.encodeChildren(AbstractRenderer.java:194)
    at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
    at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
    at com.sun.rave.web.ui.renderer.AbstractRenderer.encodeChildren(AbstractRenderer.java:194)
    at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
    at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:435)
    at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
    at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:701)
    at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:607)
    at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:544)
    at com.sun.faces.taglib.html_basic.PanelGridTag.doEndTag(PanelGridTag.java:460)
    at org.apache.jsp.Home_jsp._jspx_meth_h_005fpanelGrid_005f0(Home_jsp.java:541)
    at org.apache.jsp.Home_jsp._jspx_meth_ui_005fform_005f0(Home_jsp.java:368)
    at org.apache.jsp.Home_jsp._jspx_meth_ui_005fbody_005f0(Home_jsp.java:329)
    at org.apache.jsp.Home_jsp._jspx_meth_ui_005fhtml_005f0(Home_jsp.java:250)
    at org.apache.jsp.Home_jsp._jspx_meth_ui_005fpage_005f0(Home_jsp.java:223)
    at org.apache.jsp.Home_jsp._jspx_meth_f_005fview_005f0(Home_jsp.java:170)
    at org.apache.jsp.Home_jsp._jspService(Home_jsp.java:138)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
    at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:311)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Unknown Source){color}
    Please help me how to resolve this problem.
    Thx
    Chaitanya

  • Integrating SQL server reporting services into java

    Hi all,
    Has anybody integrated server reporting services into the java web application .I have tried to search google but very few resources are their.If any one knows any additional resource links or some code samples,please share with me.
    Thanks

    i also want the same.. pls anyone if know abt this .. post some material or approach .. that will be helpful....

  • How to deploy a web service into a WAS JAVA

    hello,
    we have  Netweaver 2004s AS Java with SP 11.  I need to know how we can deploy or start up a web services into WAS. It is possible? how? Any document to help me?
    please thanks!
    Gaby

    Hi Gabriel,
    Hi Rohini,
    How to create Web Service:
    1. Create EJB Project(Stateless session bean is recommended).
    2. Create interface according to your requirements
    3. Signature(Parameters, data type) should be same in Remote,Bean and Local interface
    4. Create EAR Project and corresponding add the EJB Project
    5. Expose EJB as Web service. Right click on EJB Project->other->web services->web service(new VI and VSD).
    6. Deploy to Application Server.
    7. Goto http://localhost:50100/index.html. click on Web service navigator you can find web service
    8. Test the web service.
    Let me know if want more details
    Regards, Suresh KB

  • One app service getting "java.lang.OutOfMemoryError: Java heap space"

    We are running a commercial app on WebLogic 9.2. Two physical servers with 5 application processes running on each in a single cluster. on the server in question, we have 5.5 gigs of free ram at the moment and still getting the message below.
    We have 10 app servers and one is getting this message. the full text of it is:
    ####<Apr 13, 2011 10:58:12 AM CDT> <Warning> <DeploymentService> <lxwbwapa> <workbpr2_node_1a> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1302710292663> <BEA-290064> <Deployment service servlet encountered an Exception while handling the deployment service message for request id "-1" from server "Admin_pr2_a". Exception is: "java.lang.OutOfMemoryError: Java heap space
    ".>
    I dug back through the logs and found it started a couple of weeks ago. I have been able to log into this app server without issue.
    Something else I have noticed is that the total heap size for all the app services have shrunk from the initial value of 1.5G - they have all dropped down into the 500 meg range. Is this normal? Why has this one not increased the size of the heap if it is running out of memory?
    I could restart the service for this app server but I would not know the cause and since it is a production server where I am not recieving complaints, I am hesitant to go through the res tape to do a re-start.
    Any information or past experience with this type issue is greatly appreciated.
    Thanks,
    W

    Hello,
    You might want to post this in the weblogic forum: WebLogic Server - General
    as they might be able to explain how WebLogic uses or releases resources.
    Regards,
    Chris

  • Error while creating new app service plan for a webapp

    Greetings !
    I have a new webapp created and I want to move it a separate web app service plan to apply custom domain (Not available on free tier). From the new Portal I try to create new Web App Service plan and get this error.
    "Failed to create App Service plan.
    Failed to create App Service plan <App Service Plan Name>. There was an error processing your request. Please try again in a few moments."
    Even while creation of the web app if I select create new App Service Plan it automatically goes into Free Plan.
    Please help.
    Thanks Paz

    Hello Parvez Alam,
    The issue of not being able to create a new App Service Plan is now fixed. I tried to reproduce this and was able to create the App Service Plan Successfully.
    You should now be able to create the App Service Plan from the New portal. Also, the App Service Plan concept is only availaible in the new portal and not the existing portal.
    You can refer to the link below for more information on this:
    http://azure.microsoft.com/en-in/documentation/articles/azure-web-sites-web-hosting-plans-in-depth-overview/
    Thanks,
    Syed Irfan Hussain

  • Deploying a jdev adf app on standalone weblogic issues

    Dear all,
    Sorry for my post which is very long but i will try to give you all information.
    I am currently developing a full stack ADF application (with BC4J to access the database) using Jdev 11g last release (5407)
    When working in JDev, my application is running perfectly.
    Now i am facing several issues regarding the deployment on a standalone weblogic.
    * 1st problem: deploying from Jdev into a remote weblogic server *
    If i try to deploy on a separate machine from jdeveloper directly using a server connection, then deployment failed with message in jdev console:
    [04:53:47 PM] Weblogic Server Exception: weblogic.deploy.api.internal.utils.DeployerHelperException: The source 'C:\Temp\lara_abcf.ear' for the application 'Lara ABCF' could not be loaded to the server 'http://MYSERVER:7001/bea_wls_deployment_internal/DeploymentService'.
    Read channel closed
    [04:53:47 PM] See server logs or server console for more details.
    [04:53:47 PM] weblogic.deploy.api.spi.exceptions.ServerConnectionException: [J2EE Deployment SPI:260041]Unable to upload 'D:\jdev-workspace\LaraABCF\deploy\lara_abcf.ear' to 't3://MYSERVER:7001'
    [04:53:47 PM] #### Deployment incomplete. ####
    [04:53:47 PM] Deployment Failed
    I tried to look into weblogic logs and see nothing helping me to found the problem. Any idea?
    I then tried to create a local domain on my workstaion and now deploying from JDeveloper works.
    I created an EAR file from Jdev and deployedthe EAR from the weblogic web console.
    From both method i was facing the same issue:
    * 2nd problem: deploying an application with a datasource access into a standalone weblogic *
    - Using the default configuration, i successfully deployed the application using weblogic console but the application stay on "Prepared" state in the console. Starting it from the console the application failed to start after the deployment. The error message display in the top of the web page is :
    Error weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: No credential mapper entry found for password indirection user=lra_abcf for data source laraABCFConn
    -I found an entry in the forum (What does this message mean? which give an hint to solve this issue:
    Modify the application properties from JDev and uncheck the option: "Auto Generate and Synchronize weblogic-jdbc.xml Descriptors During Deployment", rebuild and deploy the application.
    I try this method and teh application successfully starts but does not work: stacktrace in weblogic console indicates that BC4J does not work properly and i think that database connection are not up. The error Message:
    javax.el.ELException: java.lang.NullPointerException
    at javax.el.BeanELResolver.setValue(BeanELResolver.java:345)
    at javax.el.CompositeELResolver.setValue(CompositeELResolver.java:283)
    at com.sun.faces.el.FacesCompositeELResolver.setValue(FacesCompositeELResolver.java:100)
    at com.sun.el.parser.AstValue.setValue(AstValue.java:140)
    at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:255)
    Truncated. see log file for complete stacktrace
    java.lang.NullPointerException
    at com.cma.shipping.lara.view.settings.backing.TeuConversionBkB.setServicesSelectList(TeuConversionBkB.java:254)
    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:597)
    Truncated. see log file for complete stacktrace
    The NPE is on a line accessing a view object.
    * Final question:
    Is it possible to develop an application using a local database connection for BC4J in jdev and an external datasource when the application is deployed on a standalone weblogic without modifying the source code?
    The real issue about this is : is there a step by step tutorial explaining how to develop a simple ADF11g application using BC and deploy it successfully on a weblogic server?
    Thanks for your help

    found a workaround:
    * create a datasource on the weblogic side, mapped into the JNDI tree
    * create a new configuration in the appmodule with a new datasource mapped to this jndi reference
    * modify the databinding of my page to use this app module configuration
    * deploy again the application and this works
    but now my application does not work in jdeveloper because it seeks to a datasource in JNDI. I must revert to old settings for development en switch to these new settings to deploy on the server. Very annoying...
    Thanks for you help :)

  • Authentication with App Service Gateway worked, but now fails

    So I was trying to authenticate my app with the App Service gateway so that I can access my locked down Api App. I have set up identity providers for both Google and Microsoft, and all was working wonderfully. I was making some tweaks with how I was handling
    the authentication token, so I was hitting the authentication code 3-4 time a minute. Everything was great until suddenly the web page stopped opening up.
    I did some digging and it seems that the gateway simply cannot handle my requests anymore. I am now getting 500 responses and the streaming logs for the gateway host web app spat out an IIS error page that I've pasted at the end here... To me the
    error looks like it's coming from the gateway code. So what is going on? I've tried restarting both the gateway and the host for the gateway, I've tried changing the pricing tier to a non-shared plan in case something on the machine was crashing, and
    I've tried accessing the /signin-google page on both my mobile app and desktop browser (both fail with 500). I assume that recreating the entire resource group and associated gateway would solve the problem, but I don't know that this won't happen again. So
    any tips you have would be appreciated, thanks.
    IIS Error page:
    HTTP Error 500.0 - Internal Server Error
    The page cannot be displayed because an internal server error has occurred.
    Most likely causes:
    IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.
    IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.
    IIS was not able to process configuration for the Web site or application.
    The authenticated user does not have permission to use this DLL.
    The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.
    Things you can try:
    Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server's machine account.
    Check the event logs to see if any additional information was logged.
    Verify the permissions for the DLL.
    Install the .NET Extensibility feature if the request is mapped to a managed handler.
    Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click
    here.
    Detailed Error Information:
    Module
       __DynamicModule_Microsoft.Owin.Host.SystemWeb.OwinHttpModule, Microsoft.Owin.Host.SystemWeb, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35_63ffbacd-0ee6-4727-806c-1c01b9b82249
    Notification
       MapRequestHandler
    Handler
       ExtensionlessUrlHandler-Integrated-4.0
    Error Code
       0x00000000
    Requested URL
       https://chipexchangeresources8ff2d21b21f84262ae5c1b3af4dc04ca:80/signin-microsoft
    Physical Path
       D:\Program Files (x86)\SiteExtensions\ApiAppsGateway\0.9.29\signin-microsoft
    Logon Method
       Anonymous
    Logon User
       Anonymous
    More Information:
    This error means that there was a problem while processing the request. The request was received by the Web server, but during processing a fatal error occurred, causing the 500 error.
    View more information »
    Microsoft Knowledge Base Articles:

    No, it wasn't anything to do with Insights. Actually coming back after a weekend cleared my mind enough for me to spot my foolish error. It turns out I had accidentally switched the login and redirect urls,
    From
    Login: <gatewayurl>/login/google
    Redirect: <gatewayurl>/signin-google
    To
    Login: <gatewayurl>/signin-google
    Redirect: <gatewayurl>/login/google
    I just didn't notice at the time because /signin-google looks like a signin url rather than a redirect one. As soon as I switched back to using the /login/google one everything is back to working smoothly. Sorry for the false alarm, but as a side note I
    don't think the gateway should be throwing an exception if there is no auth token.

  • Deployment failed when moved app to WLS 8.1 SP2

    hi,
    i have a portal application which has been running on weblogic 8.1 without any
    problems for over 6 months. now we are in the process of moving it to service
    pack 2. i installed workshop 8.1.2 and opened my portal app. i was able to build
    it without any problems. but when i start the server, i get some weird excpetions.
    stack trace is copied in the end. this looks like something related to file names
    "java.lang.InternalError: IO error while trying to compute name from: C:\beaSP2\....".
    is there anything that i need to do before i deploy my app on SP2. ideally it
    should work without any changes.
    Thanks
    Kaleem
    stack trace:
    <Jun 15, 2004 3:33:10 PM EDT> <Notice> <WebLogicServer> <BEA-000355> <Thread "Li
    stenThread.Default" listening on port 15001, ip address *.*>
    java.io.IOException: There are no more files
    at java.io.WinNTFileSystem.canonicalize(Native Method)
    at java.io.File.getCanonicalPath(File.java:513)
    at weblogic.utils.jars.ManifestEntry.getName(ManifestEntry.java:136)
    at weblogic.utils.jars.Manifest.addEntry(Manifest.java:65)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:326)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.makeJar(JarFileObject.java:373)
    at weblogic.utils.jars.RandomAccessJarFile.save(RandomAccessJarFile.java
    :214)
    at weblogic.utils.jars.RandomAccessJarFile.close(RandomAccessJarFile.jav
    a:225)
    at weblogic.utils.classloaders.ExtractionHelper.resolveManifestName(Extr
    actionHelper.java:491)
    at weblogic.utils.classloaders.ExtractionHelper.extractClassFiles(Extrac
    tionHelper.java:238)
    at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebA
    ppServletContext.java:5129)
    at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServl
    etContext.java:5001)
    at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletCont
    ext.java:542)
    at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletCo
    ntext.java:493)
    at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:628)
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:626)
    at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(J2EEApplicati
    onContainer.java:3011)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplication
    Container.java:1532)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
    er.java:1188)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
    er.java:1031)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.
    prepareContainer(SlaveDeployer.java:2602)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createCon
    tainer(SlaveDeployer.java:2552)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
    laveDeployer.java:2474)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
    veDeployer.java:798)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
    oyer.java:507)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
    loyer.java:465)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
    dler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    <Jun 15, 2004 3:33:34 PM EDT> <Warning> <Deployer> <BEA-149004> <Failures were
    d
    etected while initiating Deploy task for application ApprovalsApp.>
    <Jun 15, 2004 3:33:34 PM EDT> <Error> <Deployer> <BEA-149201> <Failed to complet
    e the deployment task with ID 0 for the application ApprovalsApp.
    java.lang.InternalError: IO error while trying to compute name from: C:\beaSP2\U
    SER_P~1\PFIZER~2\domain\PORTAL~1.2\.\portalServer\.wlnotdelete\extract\portalSer
    ver_ApprovalsApp_UserManagerWebServices\jarfiles\WEB-INF\lib\jar8986\org\apache\
    struts\tiles\definition\ReloadableDefinitionsFactory$ServletPropertiesMap.class
    at weblogic.utils.jars.ManifestEntry.getName(ManifestEntry.java:148)
    at weblogic.utils.jars.Manifest.addEntry(Manifest.java:65)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:326)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.makeJar(JarFileObject.java:373)
    at weblogic.utils.jars.RandomAccessJarFile.save(RandomAccessJarFile.java
    :214)
    at weblogic.utils.jars.RandomAccessJarFile.close(RandomAccessJarFile.jav
    a:225)
    at weblogic.utils.classloaders.ExtractionHelper.resolveManifestName(Extr
    actionHelper.java:491)
    at weblogic.utils.classloaders.ExtractionHelper.extractClassFiles(Extrac
    tionHelper.java:238)
    at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebA
    ppServletContext.java:5129)
    at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServl
    etContext.java:5001)
    at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletCont
    ext.java:542)
    at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletCo
    ntext.java:493)
    at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:628)
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:626)
    at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(J2EEApplicati
    onContainer.java:3011)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplication
    Container.java:1532)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
    er.java:1188)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
    er.java:1031)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.
    prepareContainer(SlaveDeployer.java:2602)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createCon
    tainer(SlaveDeployer.java:2552)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
    laveDeployer.java:2474)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
    veDeployer.java:798)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
    oyer.java:507)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
    loyer.java:465)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
    dler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    --------------- nested within: ------------------
    weblogic.management.ManagementException: - with nested exception:
    [java.lang.InternalError: IO error while trying to compute name from: C:\beaSP2\
    USER_P~1\PFIZER~2\domain\PORTAL~1.2\.\portalServer\.wlnotdelete\extract\portalSe
    rver_ApprovalsApp_UserManagerWebServices\jarfiles\WEB-INF\lib\jar8986\org\apache
    \struts\tiles\definition\ReloadableDefinitionsFactory$ServletPropertiesMap.class
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
    laveDeployer.java:2491)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
    veDeployer.java:798)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
    oyer.java:507)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
    loyer.java:465)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
    dler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >

    hi,
    i have a portal application which has been running on weblogic 8.1 without any
    problems for over 6 months. now we are in the process of moving it to service
    pack 2. i installed workshop 8.1.2 and opened my portal app. i was able to build
    it without any problems. but when i start the server, i get some weird excpetions.
    stack trace is copied in the end. this looks like something related to file names
    "java.lang.InternalError: IO error while trying to compute name from: C:\beaSP2\....".
    is there anything that i need to do before i deploy my app on SP2. ideally it
    should work without any changes.
    Thanks
    Kaleem
    stack trace:
    <Jun 15, 2004 3:33:10 PM EDT> <Notice> <WebLogicServer> <BEA-000355> <Thread "Li
    stenThread.Default" listening on port 15001, ip address *.*>
    java.io.IOException: There are no more files
    at java.io.WinNTFileSystem.canonicalize(Native Method)
    at java.io.File.getCanonicalPath(File.java:513)
    at weblogic.utils.jars.ManifestEntry.getName(ManifestEntry.java:136)
    at weblogic.utils.jars.Manifest.addEntry(Manifest.java:65)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:326)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.makeJar(JarFileObject.java:373)
    at weblogic.utils.jars.RandomAccessJarFile.save(RandomAccessJarFile.java
    :214)
    at weblogic.utils.jars.RandomAccessJarFile.close(RandomAccessJarFile.jav
    a:225)
    at weblogic.utils.classloaders.ExtractionHelper.resolveManifestName(Extr
    actionHelper.java:491)
    at weblogic.utils.classloaders.ExtractionHelper.extractClassFiles(Extrac
    tionHelper.java:238)
    at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebA
    ppServletContext.java:5129)
    at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServl
    etContext.java:5001)
    at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletCont
    ext.java:542)
    at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletCo
    ntext.java:493)
    at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:628)
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:626)
    at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(J2EEApplicati
    onContainer.java:3011)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplication
    Container.java:1532)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
    er.java:1188)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
    er.java:1031)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.
    prepareContainer(SlaveDeployer.java:2602)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createCon
    tainer(SlaveDeployer.java:2552)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
    laveDeployer.java:2474)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
    veDeployer.java:798)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
    oyer.java:507)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
    loyer.java:465)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
    dler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    <Jun 15, 2004 3:33:34 PM EDT> <Warning> <Deployer> <BEA-149004> <Failures were
    d
    etected while initiating Deploy task for application ApprovalsApp.>
    <Jun 15, 2004 3:33:34 PM EDT> <Error> <Deployer> <BEA-149201> <Failed to complet
    e the deployment task with ID 0 for the application ApprovalsApp.
    java.lang.InternalError: IO error while trying to compute name from: C:\beaSP2\U
    SER_P~1\PFIZER~2\domain\PORTAL~1.2\.\portalServer\.wlnotdelete\extract\portalSer
    ver_ApprovalsApp_UserManagerWebServices\jarfiles\WEB-INF\lib\jar8986\org\apache\
    struts\tiles\definition\ReloadableDefinitionsFactory$ServletPropertiesMap.class
    at weblogic.utils.jars.ManifestEntry.getName(ManifestEntry.java:148)
    at weblogic.utils.jars.Manifest.addEntry(Manifest.java:65)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:326)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.addFilesToManifest(JarFileObject.ja
    va:322)
    at weblogic.utils.jars.JarFileObject.makeJar(JarFileObject.java:373)
    at weblogic.utils.jars.RandomAccessJarFile.save(RandomAccessJarFile.java
    :214)
    at weblogic.utils.jars.RandomAccessJarFile.close(RandomAccessJarFile.jav
    a:225)
    at weblogic.utils.classloaders.ExtractionHelper.resolveManifestName(Extr
    actionHelper.java:491)
    at weblogic.utils.classloaders.ExtractionHelper.extractClassFiles(Extrac
    tionHelper.java:238)
    at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebA
    ppServletContext.java:5129)
    at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServl
    etContext.java:5001)
    at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletCont
    ext.java:542)
    at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletCo
    ntext.java:493)
    at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:628)
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:626)
    at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(J2EEApplicati
    onContainer.java:3011)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplication
    Container.java:1532)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
    er.java:1188)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
    er.java:1031)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.
    prepareContainer(SlaveDeployer.java:2602)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createCon
    tainer(SlaveDeployer.java:2552)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
    laveDeployer.java:2474)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
    veDeployer.java:798)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
    oyer.java:507)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
    loyer.java:465)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
    dler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    --------------- nested within: ------------------
    weblogic.management.ManagementException: - with nested exception:
    [java.lang.InternalError: IO error while trying to compute name from: C:\beaSP2\
    USER_P~1\PFIZER~2\domain\PORTAL~1.2\.\portalServer\.wlnotdelete\extract\portalSe
    rver_ApprovalsApp_UserManagerWebServices\jarfiles\WEB-INF\lib\jar8986\org\apache
    \struts\tiles\definition\ReloadableDefinitionsFactory$ServletPropertiesMap.class
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
    laveDeployer.java:2491)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
    veDeployer.java:798)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
    oyer.java:507)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
    loyer.java:465)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
    dler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >

  • How to convert an Application Service into a Web Service

    Hi,
    I am working on SAP Netweaver CE 7.1. I have created an Application Service which returns an output as a List with each elemnt of the list conatining some attributes and a List.
    now I want to convert this AS into a Web Service. how I can do that as teh Developer Studio doesn't allow me to select the method which returns the List.
    Also how should I deploy the Web Service and test the same.
    Please reply ASAP.
    Manish

    To convert your Application Service into a Web Service ,
    1) go to General Tab of your Application Service
    2) check the option Remote Enabled Service , Save Metadata
    3) Right click Application Service and select  WebService New , give name for your Webservice and select Default Configuration type : Simple SOAP or select Basic Auth SOAP if u want your webservice to be password protected , just click next and finally finish
    4) Genearte your project code , build and deploy your application
    5) Then goto webService navigator to test your Web service
    Hope this helps
    Thanks
    Asif

  • Integrating mod_plsql reports with Oracle Apps. A maddening dilemma.

    I'm hoping there is some guru out there that has the perfect solution to this maddening dilemma I'm facing.
    The crux of the issue is this.
    I've created mod_plsql reports that can accept a session_id with which they can set a user context based on global application contexts set in Oracle applications by users as they log in.
    At this juncture, I have not figured out a way to call those mod_plsql reports from Oracle apps using a variable session_id as defined for the user when they logged into apps.
    My client want to be able to log into Oracle apps and then go to the mod_plsql reports from the Oracle Apps menu and maintain the user session, so that the mod_plsql reports are run using VPD to constrain access to the data they are displaying to that specific user.
    The client does not have Single Sign On installed nor OID.
    I had hoped to pass a variable parameter session_id from the defined menu function that would call the mod_plsql url, but I don't see any way to pass a variable there and am becoming convinced that doing so is not an option. Can anyone confirm this?
    An alternate option I'm considering that seems like it would work is to create a JSP page that gets called from a menu function. In that JSP page, I would retrieve the session_id set in apps based on the context for the user_id that I could retrieve from fnd_global.user_id and assemble a URL with the session_id that the page would then re-route to the mod_plsql page.
    Unfortunately, I'm not versed in JSP.
    How hard would it be to create the sort of page that I'm talking about?
    Would the JSP need to part of OAF?
    Can anyone think of any other options that would take care of the issue I'm dealing with?
    Thanks.
    Kurt

    See answer on other forum: Integrating mod_plsql reports with Oracle apps. Maddening dilemma.

  • Deploying a Flex iPad App wirelessly without registering a device's UIUD

    Hi
    Is there any information or step by step guide to building and deploying a Flex iPad app wireless, without registering the device's ID? Is this possible with Flex? We do have an iOS Developer Enterprise Program license. Every set of instructions from a Flex point of view that I have read assume that either 1) The release build will be deployed through iTunes or 2) the release build will be deployed to device who's ID are registered on the Apple dev center. Any help would be appreciated.
    The problem is that when attempting to install the app on a device that is not registered on the apple site, an error occurs stating that the app was unable to download/install.

    Hi Emanuele,
    In your case, SUP would provide the development tools, framework and APIs to easily handle the authentication, synchronization etc. You wouldn't need to define your own synchronization mechanism, it's in the product. Now if the updates are only sent from the server to the mobile devices, this shouldn't be to difficult to handle even without SUP.
    You could easily create REST Web Services using Gateway and then consume them using the mobile devices. You don't want to consume SOAP Web Services using a mobile application, trust me. You could do this using the ICF (Internet Communication Framework) to  achieve this but again it would be easier with Gateway.
    You don't necessarily need SUP or Gateway to create only a simple mobile application. But then if your customer is happy with their first mobile application, they'll want more. And then products such as SUP or Gateway can make the difference. These products prodvide a standard development environment, tools to manage the apps and the users etc. With multiple mobile apps connected to multiple back-ends with more and more users, you'll need a middleware to manage all this and make sure the performance is great.
    Usually people don't use SUP or Gateway for their first mobile application but then they start to see the benefits of mobility and they want more. And then they start to realize the benefits of these products and they understand that a real mobile strategy has to be defined etc.
    Regards,
    Pierre

  • App Service iOS "get started" demo client

    Is there a version of the iOS "get started" demo client app written in Swift?
    http://azure.microsoft.com/en-us/documentation/articles/app-service-mobile-dotnet-backend-ios-get-started-preview/#create-a-new-ios-app
    It seems the only choice is Objective-C.
    Thank you!
    Robert 

    Thank you for getting back to me so quickly!
    When I signed in to Event Viewer, I got an error message that my event services weren't running, so I downloaded this fix from Microsoft: http://support.microsoft.com/kb/2478117
    That started my Event Services and allowed me to sign into Event Viewer and clear my logs. They are all clear now.
    Then I repaired my version of 11G and rebooted, but am still unable to connect to the database or the Get Started URL.
    Here are my statuses:
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Produ
    ction
    Start Date 16-NOV-2012 16:31:35
    Uptime 0 days 0 hr. 2 min. 30 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\oraclexe\app\oracle\product\11.2.0\server\network\a
    dmin\listener.ora
    Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\CONNECTLAP28\liste
    ner\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=CONNECTLAP28.awi.state.fl.us)(PORT=1
    521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL> exit
    sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.2.0 Production on Fri Nov 16 16:34:42 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL>
    At least it's a different error message now! Any ideas?
    Edited by: 971714 on Nov 16, 2012 1:40 PM
    Edited by: 971714 on Nov 16, 2012 1:41 PM
    Edited by: 971714 on Nov 16, 2012 1:41 PM

Maybe you are looking for