Unable to assmbe ear for sample ATG proejct.

Hi All,
I have created a sample project with eclipse plugin and location is {ATG Directory/ATG10.2/}.
Whenever trying to build ear i am seeing the below error from eclispe console.
myshop.ear  -m myshop DafEar.Admin
Assembly started.
Target application is C:\Oracle\Middleware\user_projects\domains\MYTESTDOMAIN\apps\myshop.ear.
  Error(s) occurred : Error: There is no installed ATG platform or application package containing an AppModule which matches myshop
Root Cause: Error: There is no installed ATG platform or application package containing an AppModule which matches myshop
CAUGHT AT:CONTAINER:atg.appassembly.ApplicationAssemblerException: Error: There is no installed ATG platform or application package containing an AppModule which matches myshop; SOURCE:atg.applauncher.AppLauncherException: Error: There is no installed ATG platform or application package containing an AppModule which matches myshop
at atg.appassembly.EarInfoFactory.createEarInfo(EarInfoFactory.java:98)
at atg.appassembly.Main.main(Main.java:330)
SOURCE EXCEPTION:atg.applauncher.AppLauncherException: Error: There is no installed ATG platform or application package containing an AppModule which matches myshop
at atg.applauncher.versioner.Versionator.createInitialRequirements(Versionator.java:277)
at atg.applauncher.versioner.Versionator.<init>(Versionator.java:87)
at atg.applauncher.MultiInstallLocalAppModuleManager.expandSearchPath(MultiInstallLocalAppModuleManager.java:154)
at atg.applauncher.MultiInstallLocalAppModuleManager.<init>(MultiInstallLocalAppModuleManager.java:110)
at atg.appassembly.EarInfoFactory.createEarInfo(EarInfoFactory.java:93)
at atg.appassembly.Main.main(Main.java:330)
Cleaning Up.
Please suggest me to resolve the issue.
Thanks a lot in advance.

Hi Rajesh,
The below is my configuration:
Application name is :myshop_bcc
Applicaiton Location : ATG\ATH10.2
The below is my eclispe configuration for assembling the ear.
Run --> ExternalTools -->External Configuration  -->Left Navigation(Programs)
Location is :C:\ATG\ATG10.1.1\home\bin\runAssembler.bat
Working Directory : ear location (c:\ear\)
Arguments: myshop_bcc.ear -m DCS-UI.Versioned BIZUI  DafEar.Admin myshop_bcc
Note : Form command prompt i am able assmble the ear file.
Regards,
Swamy K

Similar Messages

  • Good strategies for building ATG EAR with Maven?

    It's been a while since I've looked at this. is there a clean set of choices for building an ATG-based EAR using Maven? Is the best we can do to use the antrun plugin, or is there a cleaner integration with Maven to do this? Is there reasonable documentation someone can point me to that details the strategies?

    Yes while using Maven, chances are that we may end up using the Ant task for invoking ATG's runAssembler inside pom to build the EAR. While using the Ant task within Maven helps us accomplishing the task but we tend to loose the power of Maven that way. It would be better if we either use Ant for the whole stuff or just Maven without mixing them.
    There is ATG DUST(Dynamo Unit and System Tests) framework for building JUnit tests for ATG applications which uses Maven.
    http://atgdust.sourceforge.net/first-test.html
    But I think DUST uses Maven just to build the JARs and does not uses ATG's assembler.
    I have never tried it but you may want to take a look at this Maven plugin which seems to be capable of generating ATG based EAR.
    http://jira.codehaus.org/browse/MOJO-1116
    Although it seem to be not updated off late. The plugin page mentions ATG 7.1 while the latest ATG offering is 10.1.1 But I guess it might work with a recent ATG version also (may be with some tweaks) as I don't think there would have been any major changes in the way ATG's runAssembler works and generates ATG EAR.

  • Weblogic.wsee.wsdl.WsdlException: Unable to find namespace for prefix 'tns'

    Hello,
    I am encoutering a problem on Oracle Weblogic Version: 10.3.1.0 when trying to deploy a jax-ws webservice (stateless session bean).
    When starting the ear i get the exception below. On an other version of Oracle Weblogic (10.3.3.0) the exact same ear deploys flawlessly.
    I have no choice but to run on the "older version" so i hope there is a way out for this.
    Any help is welcome.
    Thank you.
    weblogic.wsee.wsdl.WsdlException: Unable to find namespace for prefix 'tns'. This is used in element [part: null]
         at weblogic.wsee.wsdl.WsdlReader.createQName(WsdlReader.java:196)
         at weblogic.wsee.wsdl.WsdlPart.parse(WsdlPart.java:117)
         at weblogic.wsee.wsdl.WsdlMessage.parsePart(WsdlMessage.java:136)
         at weblogic.wsee.wsdl.WsdlMessage.parseChild(WsdlMessage.java:126)
         at weblogic.wsee.wsdl.WsdlExtensible.parse(WsdlExtensible.java:98)
         at weblogic.wsee.wsdl.WsdlDefinitions.parseChild(WsdlDefinitions.java:558)
         at weblogic.wsee.wsdl.WsdlExtensible.parse(WsdlExtensible.java:98)
         at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:483)
         at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:416)
         at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:402)
         at weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:79)
         at weblogic.wsee.jaxws.framework.jaxrpc.server.ServerEnvironmentFactory.getWsdlDef(ServerEnvironmentFactory.java:216)
         at weblogic.wsee.jaxws.framework.jaxrpc.EnvironmentFactory.getService(EnvironmentFactory.java:429)
         at weblogic.wsee.jaxws.framework.jaxrpc.EnvironmentFactory.buildDeploymentContext(EnvironmentFactory.java:621)
         at weblogic.wsee.jaxws.framework.jaxrpc.EnvironmentFactory.getDeploymentContext(EnvironmentFactory.java:606)
         at weblogic.wsee.jaxws.framework.jaxrpc.TubelineDeploymentListener.createServer(TubelineDeploymentListener.java:74)
         at weblogic.wsee.jaxws.WLSTubelineAssemblerFactory$TubelineAssemblerImpl.createServer(WLSTubelineAssemblerFactory.java:93)
         at com.sun.xml.ws.server.WSEndpointImpl.<init>(WSEndpointImpl.java:158)
         at weblogic.wsee.jaxws.WLSContainer$WLSEndpointFactory$WLSEndpointImpl.<init>(WLSContainer.java:419)
         at weblogic.wsee.jaxws.WLSContainer$WLSEndpointFactory.createEndpoint(WLSContainer.java:404)
         at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:230)
         at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:476)
         at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:519)
         at weblogic.wsee.jaxws.JAXWSDeployedServlet.getEndpoint(JAXWSDeployedServlet.java:187)
         at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:269)
         at weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:69)
         at weblogic.wsee.jaxws.JAXWSDeployedServlet.init(JAXWSDeployedServlet.java:58)
         at javax.servlet.GenericServlet.init(GenericServlet.java:241)
         at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
         at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
         at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:521)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1913)
         at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1887)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1805)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3041)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1374)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:452)
         at weblogic.wsee.deploy.WseeWebappModule.activate(WseeWebappModule.java:146)
         at weblogic.wsee.deploy.WSEEEjbModule.activate(WSEEEjbModule.java:371)
         at weblogic.wsee.deploy.WsEJBDeployListener.activate(WsEJBDeployListener.java:52)
         at weblogic.ejb.container.deployer.EJBDeployer.activate(EJBDeployer.java:1416)
         at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:480)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:411)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:74)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:66)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:629)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:206)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:53)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:140)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:106)
         at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:143)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    It's probably time for a support case to see if this is a known issue.
    You can also try in the WebLogic Server Web Services forum:
    WebLogic Server - Web Services

  • Looking for sample ANT files for building workshop webservice app outside the IDE

    Hi,
    I am currently planning to use Workshop for implementing a webservice application.
    I am looking for any sample ANT files that would enable me to build and deploy
    both the webservice EAR and the client JAR outside the IDE.
    Thanks,
    Bao Nguyen

    Hi Raj,
    Yup, I did see that sample file. However, it only demontrate how to build an
    EAR file. I am also looking for samples of how to generate the client JAR (using
    proxy to gain access to the webservice) and also how to deploy the web service
    EAR file to the server.
    I tried to use the ANT tag "clientgen" referencing the generated EAR file. It
    complainted of the missing WAR file. I checked the content of the EAR file and
    found no WAR file generated.
    I am also looking for a better way of accessing the webservice more generically
    instead of going through the proxy which is quite coupled to a specific app server.
    Please provide examples.
    Regards,
    Bao Nguyen
    "Raj Alagumalai" <[email protected]> wrote:
    Hello Bao,
    Please refer to my post "Ant script for building EAR "dated August 21
    2003.
    I have attached a sample which does this.
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.workshop&item=1285&utag=
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "Bao Nguyen" <[email protected]> wrote in message
    news:3f61477e$[email protected]..
    Hi,
    I am currently planning to use Workshop for implementing a webserviceapplication.
    I am looking for any sample ANT files that would enable me to buildand
    deploy
    both the webservice EAR and the client JAR outside the IDE.
    Thanks,
    Bao Nguyen

  • BUILD FAILED java.lang.Error: unable to load schema-for-schema for W3C XML

    I am new to JAXB, I am trying to run the sample applciations on Win 98,
    I have set up the environment values as per the UserGuide specs.
    I am getting the following error:
    BUILD FAILED java.lang.Error: unable to load schema-for-schema for W3C XML Schema at com.sun.msv.reader.xmlschema.XMLSchemaReader.getXmlSchemaForXmlSchema (XMLSchemaReader.java:190)
    Could someone please suggest a solution.
    Thank you.

    Hi
    I am using Windows 2000 and I am repeatedly getting the same error too (See below). Would appreciate any help ..
    parsing a schema...
    org.iso_relax.verifier.VerifierConfigurationException
         at com.sun.msv.verifier.jarv.FactoryImpl.compileSchema(FactoryImpl.java:104)
         at org.iso_relax.verifier.VerifierFactory.compileSchema(Unknown Source)
         at org.iso_relax.verifier.VerifierFactory.compileSchema(Unknown Source)
         at com.sun.msv.reader.xmlschema.XMLSchemaReader.getXmlSchemaForXmlSchema(XMLSchemaReader.java:186)
         at com.sun.tools.xjc.Driver$1.<init>(Driver.java:477)
         at com.sun.tools.xjc.Driver.loadXMLSchemaGrammar(Driver.java:476)
         at com.sun.tools.xjc.Driver.loadGrammar(Driver.java:404)
         at com.sun.tools.xjc.Driver.run(Driver.java:268)
         at com.sun.tools.xjc.Driver.main(Driver.java:88)
         at sample1.Binder.main(Binder.java:18)
    StackTrace of Original Exception:
    java.lang.NullPointerException
         at com.sun.msv.datatype.xsd.TypeIncubator.addFacet(TypeIncubator.java:64)
         at com.sun.msv.reader.datatype.xsd.XSDatatypeExp$1.addFacet(XSDatatypeExp.java:87)
         at com.sun.msv.reader.datatype.xsd.FacetState.startSelf(FacetState.java:56)
         at com.sun.msv.reader.State.init(State.java:154)
         at com.sun.msv.reader.GrammarReader.pushState(GrammarReader.java:579)
         at com.sun.msv.reader.datatype.xsd.TypeState.startElement(TypeState.java:101)
         at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:459)
         at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:221)
         at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:874)
         at org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:591)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:747)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
         at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
         at com.sun.msv.reader.GrammarReader._parse(GrammarReader.java:459)
         at com.sun.msv.reader.GrammarReader.switchSource(GrammarReader.java:434)
         at com.sun.msv.reader.GrammarReader.switchSource(GrammarReader.java:407)
         at com.sun.msv.reader.xmlschema.XMLSchemaReader.switchSource(XMLSchemaReader.java:683)
         at com.sun.msv.reader.xmlschema.ImportState.startSelf(ImportState.java:41)
         at com.sun.msv.reader.State.init(State.java:154)
         at com.sun.msv.reader.GrammarReader.pushState(GrammarReader.java:579)
         at com.sun.msv.reader.SimpleState.startElement(SimpleState.java:72)
         at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:459)
         at org.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:877)
         at org.apache.xerces.impl.XMLNamespaceBinder.startElement(XMLNamespaceBinder.java:569)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:759)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
         at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
         at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
         at com.sun.msv.reader.GrammarReader._parse(GrammarReader.java:459)
         at com.sun.msv.reader.GrammarReader.parse(GrammarReader.java:449)
         at com.sun.msv.reader.xmlschema.XMLSchemaReader.parse(XMLSchemaReader.java:89)
         at com.sun.msv.verifier.jarv.XSFactoryImpl.parse(XSFactoryImpl.java:26)
         at com.sun.msv.verifier.jarv.FactoryImpl.compileSchema(FactoryImpl.java:95)
         at org.iso_relax.verifier.VerifierFactory.compileSchema(Unknown Source)
         at org.iso_relax.verifier.VerifierFactory.compileSchema(Unknown Source)
         at com.sun.msv.reader.xmlschema.XMLSchemaReader.getXmlSchemaForXmlSchema(XMLSchemaReader.java:186)
         at com.sun.tools.xjc.Driver$1.<init>(Driver.java:477)
         at com.sun.tools.xjc.Driver.loadXMLSchemaGrammar(Driver.java:476)
         at com.sun.tools.xjc.Driver.loadGrammar(Driver.java:404)
         at com.sun.tools.xjc.Driver.run(Driver.java:268)
         at com.sun.tools.xjc.Driver.main(Driver.java:88)
         at sample1.Binder.main(Binder.java:18)
    java.lang.Error: unable to load schema-for-schema for W3C XML Schema
         at com.sun.msv.reader.xmlschema.XMLSchemaReader.getXmlSchemaForXmlSchema(XMLSchemaReader.java:190)
         at com.sun.tools.xjc.Driver$1.<init>(Driver.java:477)
         at com.sun.tools.xjc.Driver.loadXMLSchemaGrammar(Driver.java:476)
         at com.sun.tools.xjc.Driver.loadGrammar(Driver.java:404)
         at com.sun.tools.xjc.Driver.run(Driver.java:268)
         at com.sun.tools.xjc.Driver.main(Driver.java:88)
         at sample1.Binder.main(Binder.java:18)
    Exception in thread "main"
    -Thanks
    Guna

  • "open project was cancelled or the application was unable to load database for..."

    I'm doing a project for my Professional Writing course and I
    have to use RoboHelp to create an online help document. The
    professor provided templates for us to use but when I go to open
    the project file I get the following error: "open project was
    cancelled or the application was unable to load database
    for....(then the directory)"
    I know the project file isn't corrupted because the members
    of my class are using the same one without issue. I tried
    re-downloading the file, I also re-installed the program itself,
    still with no luck. I'm using a Trial Version of RoboHelp 6.0 .
    The only other suggestions I have seen are that I don't have
    edit perms for the system, but it's my personal laptop and I have
    full admin privs. I thought at first that the folder was read-only,
    but when I opened it up all it displays is the little green box in
    the checkbox (which doesn't mean the folder is read-only, it's just
    some stupid windows default, it's only read-only if the box is
    actually checked). I tried making the entire directory read-only
    and then turn it off but still get the same error.
    Any suggestions?

    There's a topic on my site about Opening Projects that
    includes the method of deleting the CPD and XPJ files but I didn't
    cover that as the project is good for everyone else. Anything is
    worth a try at the moment though.
    Another thing to try is to rename the course folder, then
    create a new folder with the same name plus all sub folders. Then
    move the files across. That will ensure the folder properties are
    good and not read only. Yes I know what you said but again anything
    is worth a try.
    Also, in the last post you are saying the directory is not
    read-only. I assume the files are all good?
    Ref my previous post, is it the case that now you are getting
    an error before the original error would have popped up?

  • Open project was cancelled or application was unable to load database for pathname

    My pc is installed with Robohelp 3x. Recently I shifted the
    pc from one room to anther. Now when I attempt to open my existing
    workable solution, it give me the following message: "Open project
    was canceled or application was unable to load database for
    <pathname>". Do I need to call for Robohelp technical
    support? If yes, can someone provide me the toll free number?
    Can someone pls advise?

    Thanks Peter, managed to get in through the link you've
    given. I seriously doubt it has anything gotta do with a corrupted
    project. I have 2 working projects last week but they can no longer
    be opened this week.
    I tried even to created an empty project from scratch. It was
    created successfully but when I reopen the project, it shows the
    same error message.
    Could there have been other possibilities or ways which I can
    troubleshoot?
    *puzzled*

  • Unable to get RequestDispatcher for Context

    Eclipse 3.3.0
    Tomcat 6.0.16
    Java 1.5.0_13
    Mac OS X 10.5.6
    Greetings:
    I'm attempting to retrieve information cross context in my web application. I've attempted to enable cross context access by three means.
    - I've added "crossContext=true" to the <Context> element in the server.xml of the Tomcat configuration under the Servers project of my workspace.
    - I've added "crossContext=true" to the <Context> element in a META-INF/context.xml in the WebContent folder of my project.
    - I've added "crossContext=true" to the <Context> element of the context.xml file in the conf directory of the Tomcat installation directory.
    Yet despite these changes I'm still seeing "Unable to get RequestDispatcher for Context....Verify values and/or enable cross context access" in the console. What do I need to do to enable cross context access using Eclipse? Thanks for any help.
    ETA - I've had this working before. I believe that I upgraded to Tomcat 6 from Tomcat 5.5 and that's when the jstl cross context actions broke.
    ETA - I've got it working in Tomcat 6. The problem arises when I change the name of my webapplication from "foo" to ROOT inside eclipse. I want a jsp page in the ROOT web application to be able to access a servlet in the "bar" web application.
    Edited by: nantucket on May 17, 2009 2:17 PM
    Edited by: nantucket on May 17, 2009 2:26 PM

    Thanks for your reply evnafets.
    How many times do you declare your context???I know, I know... I got frustrated. :o)
    But seriously, since my post I've discovered that it is "working" but not in the manner I had expected within the IDE. That is, if I access the page at
    http://localhost:8080/ROOT/myPage.jspThen I can see the contents retrieved from the context bar. But if I use.
    http://localhost:8080/myPage.jspI can see that the page somehow has been deployed to the root context, but the error code 500 appears in place of where the content from the bar context should be.
    However, if I export war files for these two web applications and run them in Tomcat 6 outside of Eclipse, everything works as it should. So this is an eclipse issue with respect to deploying a web application to the root context. Maybe there is some configuration about that I must make somewhere.
    I hope that makes sense.
    Anyhow, the server.xml file contains the following..
    <Context crossContext="true" docBase="bar" path="/bar" reloadable="true" source="org.eclipse.jst.j2ee.server:bar"/>
       <Context crossContext="true" docBase="ROOT" path="/ROOT" reloadable="true" source="org.eclipse.jst.j2ee.server:ROOT"/>The jstl code in the jsp page accessing the context bar is the following.
    <c:import url='/helloworld?action=view' context='/bar' />

  • Error on imovie11: Unable to prepare project for publishing.

    Error on imovie11: Unable to prepare project for publishing.
    I badly need someone that is an extreme expert on Mac Pro and imovie11 and very good at troubleshooting. I have a critical project to get out and have serious problem. Mac store solutions did not work. Need a Pro that I can hire to come to my office in Raleigh NC.
    Cleared the memory space on the drive, cleared the preferences.. critical problem. Love to find someone good to hire in the Raleigh NC area that come over and work on it.
    Martin Brossman 919 847 4757
    Apple Store advice did not work.

    Rocker-65 is correct, large, long and complex projects can have problems resulting in a Error-108. Sometimes cutting a Project up into pieces or just cutting into 2 can help. Easiest way to accomplish the cutting is to create a Duplicate Project. Then just cut Project 1 in half, saving the first part. Duplicate Project gets cut in half and contains the second part.
    Then if you want to stitch them back together, export each project individually at 720p. Import each one BACK into a new Event Folder in iMovie and combine then in a new Project, export that.

  • Text Message: Unable to execute file for security ...

    Whenever I'm viewing a text message, when I try to open up the "Options" menu, I see the above message, "Text Message: Unable to execute file for security reasons". This doesn't seem to impact the functionality of the menu at all, everything seems to work.
    Anyone ever come across this before?
    I've updated the phone (Nokia E66) to the latest software, and I've only got one application installed other than the default base install (Google calendar sync utility), removing that doesn't change the problem.
    Thanks in advance!

    I get the same error after SW update to latest version when I try to run some apps 

  • My MacBook Pro stated that it needed to be updated. I clicked yes to restart the computer and update but when it restarted it stays on the gray screen with the apple logo and then pops up, stating "unable to find driver for this platform." What do I do?

    My MacBook Pro stated that it needed to be updated. I clicked yes to restart the computer and update but when it restarted it stays on the gray screen with the apple logo and then pops up, stating "unable to find driver for this platform." What do I do?

    Boot into Recovery by holding down the key combination command-R at the startup chime. Release the keys when you see a gray screen with a spinning dial.
    Note: You need an always-on Ethernet or Wi-Fi connection to the Internet to use Recovery. It won’t work with USB or PPPoE modems, or with networks that require any kind of authentication other than a WPA or WPA2 Personal password.
    When the Mac OS X Utilities screen appears, follow the prompts to reinstall the Mac OS. You don't need to erase the boot volume, and you won't need your backup unless something goes wrong. If your Mac didn’t ship with Lion, you’ll need the Apple ID and password you used to upgrade, so make a note of those before you begin.
    Don't install the Thunderbolt update -- it's defective.

  • Unable to compile class for JSP

    Please can anyone help me to solve this.
    Actually,this is the condition.
    In my db,there is a table called UserPassword, which has 4
    fields(empNo,UserName,password,level). Now I want to do these things:
    When the user submits the data to create a new account via HTML form, it submits the data to the file called CreateAcc.jsp. In this file it perform some logic,here are they.
    1)To check the empNo,if it is already exist in the DB,
         if empNo =exist then display error.(record already exist)
         if empNo =notexist then do task 2).
    2)check the UserName,if it is already exist in the db,
         if UserName=exist then display error.(because it's a primary key)
         if UserName=notexist then do task 3).
    3)Create a new user account and save it to the db.
    To do these tasks,I never create a new objects for the tasks 1) and 2).
    only for task 3)create an object.
    Is it the right way?
    Here is the file CreateAcc.jsp
    <%@ page language="java" %>
    <%@ page import="core.UserAccManager" %>
    <%@ page import="data.UserPassword" %>
    <jsp:useBean id="UserAccManager" class="core.UserAccManager" scope="session"/>
    <jsp:setProperty name="UserAccManager" property="*"/>
    <jsp:useBean id="UserPassword" class="data.UserPassword" scope="session"/>
    <jsp:setProperty name="UserPassword" property="*"/>
    <%
    String nextPage ="MainForm.jsp";
    if(UserPassword.verifyEmpno()){
         if(UserPassword.verifyUsername()){
              if(UserPassword.createAcc()) nextPage ="MsgAcc.jsp";
          }else{
               nextPage="UserNameExist.jsp";
          else{
              nextPage="UserAccError.jsp";
    %>
    <jsp:forward page="<%=nextPage%>"/>The directory structure:
    UserPassword.java- F:/Project/core/data/UserPassword.java
    UserAccManager.java - F:/Project/core/UserAccManager.java
    Now both are compiling.I put the class files into the TOMCAT,as follows.
    UserAccManager.class - webapps/mySystemName/WEB-INF/classes/core/
    UserPassword.class - webapps/mySystemName/WEB-INF/classes/core/data/
    Here is the full code of the file UserAccManager.java.
    package core;               //Is this right?
    import data.UserPassword;     //Is this right?
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import javax.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public final class UserAccManager{
       private static final String DRIVER = "com.mysql.jdbc.Driver";
       private static final String URL = "jdbc:mysql://localhost:3306/superfine";
       private static Connection connection;
       private static PreparedStatement pstmt1;
       private static PreparedStatement pstmt2;     
       private static PreparedStatement pstmt3;     
       private UserAccManager(){
       // Initializes the connection and statements
       public static void initConnection() {
          if (connection == null) {
             try {
                String sql;
                // Open the database
                Class.forName(DRIVER).newInstance();
                connection = DriverManager.getConnection(URL);
                // Prepare the statements
               sql = "SELECT * FROM UserPassword where empNo= ?";
               pstmt1 = connection.prepareStatement(sql);
                sql = "SELECT UserName FROM UserPassword where UserName= ?";
                pstmt2 = connection.prepareStatement(sql);
             sql ="INSERT INTO UserPassword VALUES(?,?,?,?)";
             pstmt3 = connection.prepareStatement(sql);
             catch (Exception ex) {
                System.err.println(ex.getMessage());
       // Closes the connection and statements
       // Method to be called by main class when finished with DB
       public  void closeConnection() {
          //same as previous
       public static boolean verifyEmpno(int empno) {
          boolean emp_no_select_ok = false;
          int emp = -1;
          initConnection();
         try {
          pstmt1.setInt(1, empno);
             ResultSet rs1 = pstmt1.executeQuery();
         while(rs1.next()){
              emp=rs1.getInt("empNo");
         if(emp>0)
              emp_no_select_ok = false;
         } else{
              emp_no_select_ok = true;     
            rs1.close();
         pstmt1.close();     
          catch (Exception ex) {
             System.err.println(ex.getMessage());
          return emp_no_select_ok;
       public static boolean verifyUsername(String username) {
          boolean user_name_select_ok = false;
          String user = "xxxx";
          initConnection();
          try {
          pstmt2.setString(1, username);
             ResultSet rs2 = pstmt2.executeQuery();
            while(rs2.next()){
              user=rs2.getString("UserName");
               if(!user.equals("xxxx"))
              user_name_select_ok = false;
            } else{
              user_name_select_ok = true;     
           rs2.close();
          catch (Exception ex) {
             System.err.println(ex.getMessage());
          return user_name_select_ok;
         public static boolean createAcc(int empno, String username, String password, int
    level){
              boolean create_acc_ok = false;
              initConnection();
              try{
                      //create a new object,from the UserPassword table.
                   UserPassword useraccount = new UserPassword();
                   useraccount.setEmpno(empno);
                   useraccount.setUsername(username);
                   useraccount.setPassword(password);
                   useraccount.setLevel(level);
                   //assign value for ???
                   pstmt3.setInt(1, useraccount.getEmpno());
                   pstmt3.setString(2, useraccount.getUsername());
                   pstmt3.setString(3, useraccount.getPassword());
                   pstmt3.setInt(4, useraccount.getLevel());          
                   if(pstmt3.executeUpdate()==1) create_acc_ok=true;
                   pstmt3.close();
                           //con.close();
                catch(SQLException e2){
                           System.err.println(e2.getMessage());
              return create_acc_ok;
    }here is the bean (part of it)
    package data;               //is it right?
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import javax.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class UserPassword
         private int empno;
         private String username;
         private String password;
         private int level;
         // Constructor
         public UserPassword()
              this.empno = empno;
              this.username = username;
              this.password = password;
              this.level = level;
         // setters and getters are here.
    //     public boolean verifyEmpno() {
    //               return UserAccManager.verifyEmpno(empno);
    //       public boolean verifyUsername(String username) {
    //            return UserAccManager.verifyUsername(username);
         // These 2 methods not compile with or without para's.So I leave that job for the      
         //controll class UserAccManager.java.
    Now my problem is this: When I submit data, there is an error;org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Compiling 1 source file
    C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:8:
    cannot access core.data.UserPassword
    bad class file: C:\Program Files\Apache Group\Tomcat
    4.1\webapps\HRM\WEB-INF\classes\core\data\UserPassword.class
    class file contains wrong class: data.UserPassword
    Please remove or make sure it appears in the correct subdirectory of the classpath.
    import core.data.UserPassword;
    ^
    1 error
    Are there any mistakes? If so tell me where is it and how to change them.Please help.

    I try it that way, but it don't compile.
    Error:core\data\UserPassword.java:package javax.servlet does not exist
    import javax.servlet.*;
    core\data\UserPassword.java:package javax.servlet.http does not exist
    import javax.servlet.http.*;
    So,I comment them only in the UserPassword.java file,and compile it again.
    Then it compile well.I goto the directory to get the .class files.
    But there is only UserPassword.class inside the data folder. There is not
    UserAccManager.class in the core folder.
    Then I try this way,I put my 2 java files in to a new folder,
    F:\SystemName\com
    When I try it that way, but it don't compile.
    javac -classpath . -d . com\*.javaError:com\UserPassword.java:package javax.servlet does not exist
    import javax.servlet.*;
    com\UserPassword.java:package javax.servlet.http does not exist
    import javax.servlet.http.*;
    So,I comment them only in the UserPassword.java file,and compile it again.
    Now both are compiling well.There was 2 class files.
    I put them in to the WEB-INF/classes/com directory.
    Start the server.But it gave errors:
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:68: cannot resolve symbol
    symbol  : variable empno
    location: class org.apache.jsp.CreateAcc_jsp
    if(UserPassword.verifyEmpno(empno)){
                                ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:69: cannot resolve symbol
    symbol  : variable username
    location: class org.apache.jsp.CreateAcc_jsp
         if(UserAccManager.verifyUsername(username)){
                                             ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:69: non-static method
    verifyUsername(java.lang.String) cannot be referenced from a static context
         if(UserAccManager.verifyUsername(username)){
                             ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable empno
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable username
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                       ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable password
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                                ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable level
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                                         ^
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: non-static method
    createAcc(int,java.lang.String,java.lang.String,int) cannot be referenced from a static
    context
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                     ^
    8 errorsTo solve the problem non-static method,I goto the UserAccManager.java file and do these
    things.
    package com;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import javax.sql.*;
    //import javax.servlet.*;               //otherwise it tells an error.(package           
                                  //javax.servlet does not exist)
    //import javax.servlet.http.*;
    public  class UserAccManager {
       private static final String DRIVER = "com.mysql.jdbc.Driver";
       private static final String URL = "jdbc:mysql://localhost:3306/superfine";
       private static Connection connection;
       private static PreparedStatement pstmt1;
        private static PreparedStatement pstmt2;
          private static PreparedStatement pstmt3;
       private UserAccManager() {
       // Initializes the connection and statements
       private static void initConnection() {
             //same
       // Closes the connection and statements
       // Method to be called by main class when finished with DB
       public static void closeConnection() {
         //same
       public static boolean verifyEmpno(int empno) {
          // same.
       public static boolean verifyUsername(String username) {
         //same.
         public static boolean createAcc(int empno, String username, String password, int      
    level){
              //same
    package com;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import javax.sql.*;
    //import javax.servlet.*;
    //import javax.servlet.http.*;
    public class UserPassword {
         // same
    Again compile those files and put .class filses into the WEB-INF/classes/com directory.
    When i submits the data via the form it generates an error:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 9 in the jsp file: /CreateAcc.jsp
    Generated servlet error:
        [javac] Compiling 1 source file
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:68: cannot resolve symbol
    symbol  : variable empno
    location: class org.apache.jsp.CreateAcc_jsp
    if(UserAccManager.verifyEmpno(empno)){
                                  ^
    An error occurred at line: 9 in the jsp file: /CreateAcc.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:69: cannot resolve symbol
    symbol  : variable username
    location: class org.apache.jsp.CreateAcc_jsp
         if(UserAccManager.verifyUsername(username)){
                                             ^
    An error occurred at line: 9 in the jsp file: /CreateAcc.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable empno
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                ^
    An error occurred at line: 9 in the jsp file: /CreateAcc.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable username
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                       ^
    An error occurred at line: 9 in the jsp file: /CreateAcc.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable password
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                                ^
    An error occurred at line: 9 in the jsp file: /CreateAcc.jsp
    Generated servlet error:
    C:\Program Files\Apache Group\Tomcat
    4.1\work\Standalone\localhost\HRM\CreateAcc_jsp.java:70: cannot resolve symbol
    symbol  : variable level
    location: class org.apache.jsp.CreateAcc_jsp
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
                                                                         ^
    6 errorshere is the CreateAcc.jsp file
    <%@ page language="java" %>
    <%@ page import="com.UserAccManager" %>
    <%@ page import="com.UserPassword" %>
    <jsp:useBean id="userPassword" class="com.UserPassword" scope="request"/>
    <jsp:setProperty name="userPassword" property="*" />
    <%
    String nextPage ="MainForm.jsp";
    if(UserAccManager.verifyEmpno(empno)){
         if(UserAccManager.verifyUsername(username)){
              if(UserAccManager.createAcc(empno, username,password,level)) nextPage
    ="MsgAcc.jsp";
          }else{
               nextPage="UserNameExist.jsp";
          else{
              nextPage="UserAccError.jsp";
    %>
    <jsp:forward page="<%=nextPage%>"/>Please, anyone know how to send these parameters to the java file.
    Thanks.

  • Unable to securely request for a page

    Question:
    a) I'm unable to securely request for my webpage : https://127.0.0.1:8443/Blah , instead I get the following Error:
    Firefox can't establish a connection to the server at localhost:8443.
    The site could be temporarily unavailable or too busy. Try again in a few
    moments.
    If you are unable to load any pages, check your computer's network
    connection.
    If your computer or network is protected by a firewall or proxy, make sure
    that Firefox is permitted to access the Web.
    On Internet Explorer I simply get:
    Internet Explorer cannot display the webpage
    b) How do I know which SSL Implementation my tomcat is making use of: JSSE/APR
    Details:
    web.xml
    <?xml version="1.0"?>
    <!DOCTYPE web-app PUBLIC
    "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    id="Your_WebApp_ID"
    version="2.5">
    <description>The standard web descriptor for the email client</description>
    <servlet>
    <servlet-name>AuthenticateUser</servlet-name>
    <servlet-class>MailBoxController</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>AuthenticateUser</servlet-name>
    <url-pattern>/ControlPanel</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
    <welcome-file>login.jsp</welcome-file>
    </welcome-file-list>
    <error-page>
    <error-code>401</error-code>
    <location>/authenticationFailed.jsp</location>
    </error-page>
    <context-param>
    <param-name>serverName</param-name>
    <param-value>Gmail</param-value>
    </context-param>
    <context-param>
    <param-name>port</param-name>
    <param-value>993</param-value>
    </context-param>
    <context-param>
    <param-name>ip</param-name>
    <param-value>imap.gmail.com</param-value>
    </context-param>
    <session-config>
    <session-timeout>30</session-timeout>
    </session-config>
    <listener>
    <listener-class>Logger</listener-class>
    </listener>
    <security-constraint>
    <web-resource-collection>
    <url-pattern>/*</url-pattern>
    <http-method>POST</http-method>
    </web-resource-collection>
    <auth-constraint>
    <role-name>administrator</role-name>
    </auth-constraint>
    <user-data-constraint>
    <transport-guarantee>CONFIDENTIAL</transport-guarantee>
    </user-data-constraint>
    </security-constraint>
    <login-config>
    <auth-method>BASIC</auth-method>
    </login-config>
    <security-role>
    <role-name>administrator</role-name>
    </security-role>
    </web-app>
    tomcat-users.xml :
    <tomcat-users>
    <role rolename="administrator"/>
    <user username="admin" password="system123#" roles="administrator"/>
    </tomcat-users>
    Following tag was added in web.xml in conf of tomcat :
    <-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->
    <Connector
    protocol="org.apache.coyote.http11.Http11NioProtocol"
    port="8443" maxThreads="200"
    scheme="https" secure="true" SSLEnabled="true"
    keystoreFile="C:/Users/.keystore" keystorePass="changeit"
    clientAuth="false" sslProtocol="TLS"/>
    Can anybody please help me with my problem. Am I going wrong with configuring SSL?
    Thanks
    Krutika

    I did add these lines:
    <Connector
         protocol="org.apache.coyote.http11.Http11NioProtocol"
         port="8443" maxThreads="200"
         scheme="https" secure="true" SSLEnabled="true"
         keystoreFile="C:/Users/Krutika Ravi/.keystore" keystorePass="changeit"
         clientAuth="false" sslProtocol="TLS"/>
    to the web.xml contained in conf folder of tomcat.
    But didn't fiddle with server.xml -
    After un-commenting
    <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
    maxThreads="150" scheme="https" secure="true"
    clientAuth="false" sslProtocol="TLS" />
    in server.xml contained in conf folder I get the following exceptions
    Jul 25, 2012 11:11:41 PM org.apache.catalina.core.AprLifecycleListener init
    INFO: Loaded APR based Apache Tomcat Native library 1.1.24 using APR version 1.4
    .6.
    Jul 25, 2012 11:11:41 PM org.apache.catalina.core.AprLifecycleListener init
    INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], ra
    ndom [true].
    Jul 25, 2012 11:11:43 PM org.apache.catalina.core.AprLifecycleListener initializ
    eSSL
    INFO: OpenSSL successfully initialized (OpenSSL 1.0.1c 10 May 2012)
    Jul 25, 2012 11:11:43 PM org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["http-apr-8080"]
    Jul 25, 2012 11:11:43 PM org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["http-apr-8443"]
    Jul 25, 2012 11:11:43 PM org.apache.coyote.AbstractProtocol init
    SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-ap
    r-8443"]
    java.lang.Exception: Connector attribute SSLCertificateFile must be defined when
    using SSL with APR
    at org.apache.tomcat.util.net.AprEndpoint.bind(AprEndpoint.java:484)
    at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.jav
    a:610)
    at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:429)
    at org.apache.catalina.connector.Connector.initInternal(Connector.java:9
    81)
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    at org.apache.catalina.core.StandardService.initInternal(StandardService
    .java:559)
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    at org.apache.catalina.core.StandardServer.initInternal(StandardServer.j
    ava:814)
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:624)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:649)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
    Jul 25, 2012 11:11:43 PM org.apache.catalina.core.StandardService initInternal
    SEVERE: Failed to initialize connector [Connector[HTTP/1.1-8443]]
    org.apache.catalina.LifecycleException: Failed to initialize component [Connecto
    r[HTTP/1.1-8443]]
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106)
    at org.apache.catalina.core.StandardService.initInternal(StandardService
    .java:559)
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    at org.apache.catalina.core.StandardServer.initInternal(StandardServer.j
    ava:814)
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:624)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:649)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
    Caused by: org.apache.catalina.LifecycleException: Protocol handler initializati
    on failed
    at org.apache.catalina.connector.Connector.initInternal(Connector.java:9
    83)
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    ... 12 more
    Caused by: java.lang.Exception: Connector attribute SSLCertificateFile must be d
    efined when using SSL with APR
    at org.apache.tomcat.util.net.AprEndpoint.bind(AprEndpoint.java:484)
    at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.jav
    a:610)
    at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:429)
    at org.apache.catalina.connector.Connector.initInternal(Connector.java:9
    81)
    ... 13 more
    Jul 25, 2012 11:11:43 PM org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["ajp-apr-8009"]
    Jul 25, 2012 11:11:43 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 2945 ms
    Jul 25, 2012 11:11:43 PM org.apache.catalina.core.StandardService startInternal
    INFO: Starting service Catalina
    Jul 25, 2012 11:11:43 PM org.apache.catalina.core.StandardEngine startInternal
    INFO: Starting Servlet Engine: Apache Tomcat/7.0.29
    Jul 25, 2012 11:11:43 PM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive C:\Junkyard\apache-tomcat-7.0.29\webapps
    \Blah.war
    Jul 25, 2012 11:11:44 PM org.apache.catalina.loader.WebappClassLoader validateJa
    rFile
    INFO: validateJarFile(C:\Junkyard\apache-tomcat-7.0.29\webapps\Blah\WEB-INF\lib\
    javax.servlet-5.1.12.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2.
    Offending class: javax/servlet/Servlet.class
    Logger Contructor
    Servlet Context has been initialized
    Jul 25, 2012 11:11:45 PM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory C:\Junkyard\apache-tomcat-7.0.29\webap
    ps\docs
    Jul 25, 2012 11:11:45 PM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory C:\Junkyard\apache-tomcat-7.0.29\webap
    ps\examples
    Jul 25, 2012 11:11:46 PM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory C:\Junkyard\apache-tomcat-7.0.29\webap
    ps\host-manager
    Jul 25, 2012 11:11:46 PM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory C:\Junkyard\apache-tomcat-7.0.29\webap
    ps\manager
    Jul 25, 2012 11:11:46 PM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory C:\Junkyard\apache-tomcat-7.0.29\webap
    ps\ROOT
    Jul 25, 2012 11:11:46 PM org.apache.coyote.AbstractProtocol start
    INFO: Starting ProtocolHandler ["http-apr-8080"]
    Jul 25, 2012 11:11:46 PM org.apache.coyote.AbstractProtocol start
    INFO: Starting ProtocolHandler ["ajp-apr-8009"]
    Jul 25, 2012 11:11:46 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 2728 ms
    Edited by: 948555 on Jul 25, 2012 10:42 AM

  • Errors with SharePoint Security Token Service: "The revocation function was unable to check revocation for the certificate"

    I'm getting these errors in the eventlog and ULS, "An operation failed because the following certificate has validation errors:\n\nSubject Name: CN=SharePoint Security Token Service, OU=SharePoint, O=Microsoft, C=US\nIssuer Name: CN=SharePoint Root
    Authority, OU=SharePoint, O=Microsoft, C=US\nThumbprint: <STS CERTIFICATE THUMBPRINT>\n\nErrors:\n\n RevocationStatusUnknown: The revocation function was unable to check revocation for the certificate."
    The errors point to the SharePoint Security Token Service as the issue ("The revocation function was unable to check revocation for the certificate") reported back by the Topology service.  This is apparent when executing a search, accessing
    the managed metadata service, issuing SPSite commands in Powershell, or anything that needs to run through the "SharePoint Web Services" site.  I've looked at the certificate assigned to that site and everything appears to be in order. 
    It would seem to me to be either an incorrect endpoint configuration (internally cached perhaps?) or related to security access for the configuration database (in order to validate the certificate root).
    What I’ve tried so far:
    I’ve been all over the certificate settings, both in the server store, and within SharePoint Token Service config.  Both appear to be configured correctly such that the root CAs can be validated.
    Re-entered the passwords for the application pool domain accounts to eliminate these as a potential cause.  I’ve also verified the service accounts reporting the error, do have access to the configuration database.
    Re-provisioned the STS service to see if that might clear out any cached issues and validated everything else according to this
    MS Tech note.
    So far nothing has worked.  Is there anything else I could be looking at that I've missed? (Full eventlog detail below)
    Log Name:      Application
    Source:        Microsoft-SharePoint Products-SharePoint Foundation
    Date:          2/20/2015 11:19:41 AM
    Event ID:      8311
    Task Category: Topology
    Level:         Error
    Keywords:      
    User:          <SP SERVICE ACCOUNT>
    Computer:      <SHAREPOINTSERVER>
    Description:
    An operation failed because the following certificate has validation errors:\n\nSubject Name: CN=SharePoint Security Token Service, OU=SharePoint, O=Microsoft, C=US\nIssuer Name: CN=SharePoint Root Authority, OU=SharePoint, O=Microsoft, C=US\nThumbprint: <STS
    CERT THUMBPRINT>\n\nErrors:\n\n RevocationStatusUnknown: The revocation function was unable to check revocation for the certificate.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-SharePoint Products-SharePoint Foundation" Guid="{6FB7E0CD-52E7-47DD-997A-241563931FC2}" />
        <EventID>8311</EventID>
        <Version>14</Version>
        <Level>2</Level>
        <Task>13</Task>
        <Opcode>0</Opcode>
        <Keywords>0x4000000000000000</Keywords>
        <TimeCreated SystemTime="2015-02-20T17:19:41.213852500Z" />
        <EventRecordID>1611121</EventRecordID>
        <Correlation />
        <Execution ProcessID="10212" ThreadID="10328" />
        <Channel>Application</Channel>
        <Computer><SHAREPOINTSERVER></Computer>
        <Security UserID="<SP SERVICE ACCOUNT>" />
      </System>
      <EventData>
        <Data Name="string0">CN=SharePoint Security Token Service, OU=SharePoint, O=Microsoft, C=US</Data>
        <Data Name="string1">CN=SharePoint Root Authority, OU=SharePoint, O=Microsoft, C=US</Data>
        <Data Name="string2"><STS CERT THUMBPRINT></Data>
        <Data Name="string3">RevocationStatusUnknown: The revocation function was unable to check revocation for the certificate.
    </Data>
      </EventData>
    </Event>

    Hi Darren,
    This problem seems to occur when an administrator deletes the local trust relationship of the farm from the Security section of the Central Administration website
    In order to resolve this problem, the local trust relationship has to be created. This can be done by running the following PowerShell commands
    $rootCert = (Get-SPCertificateAuthority).RootCertificate
    New-SPTrustedRootAuthority -Name "localNew" -Certificate $rootCert
    After running the above commands, perform an IISReset on all servers in the farm.
    More information:
    http://support.microsoft.com/kb/2545744
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • Error when crawling "Unable to load stemmer for locale 1033. Error code 80040111."

    In the Sharepoint Search Service I get tose error "MAPI: Logon failed. " in the log and "Unable to load stemmer for locale 1033. Error code 80040111." in ULS.
    The error code 80040111 is well a relation with Mapi but what about stemmer???

    Hi,
    For your issue, check your current language settings and ensure that search supports the current language.
    On the SharePoint Server open Registry Editor (Start -> type “Regedit” and hit enter). 
    Point to : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OfficeServer\14.0\Search\Setup\ContentIndexCommon\LanguageResources\Default\English
    Under the registry key for each of the languages there is a value called StemmerDLLPath and WBDLLPathOverride
    Updated the registry entry with NATURA~1.dll to NATURA~2.dll
    Point to Start -> Administrative Tools -> Services, right click on SharePoint Server Search 14 and click on Restart.
    Performed a Full Crawl and wait for the Full Crawl to complete and try searching again.
    For more detailed information, refer to the following blogs:
    http://blog.ithinksharepoint.com/2008/04/20/a-word-breaker-was-not-found-for-the-given-language-error-when-crawling-content/
    http://www.sharepoint2013.me/Blog/Post/175/Word-breakers-in-SharePoint-2013
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

Maybe you are looking for

  • Is there a way to play movies that require flashplayer on a ipad2

    is there a way to play movies that require flashplayer on a ipad2

  • Installing Acrobat Reader Plug-In Only (Not Full App)

    I'm curious to know if its possible to load the Adobe Acrobat Reader Plug-in portion only in IE and Firefox. Ideally I'd prefer to not have to install the entire application just to view PDF's in IE/Firefox as I rely on a third party application to v

  • White light, no display or startup

    So I'm deep into the trail of tears with my MBP 2.4 a1229. I very cleverly spilled some hot tea on my display which essentially killed it. 2/3 dead but everything else worked. I hooked it up to an external monitor and used it for a few days while wai

  • Does JaxB support inported schemas?

    hi i'm trying to compile the CD_DataBase.xsd schema (using the JaxB that I got from the JWSDP found at Sun's site) which references to an Album element in Album.xsd For some reason, my xjc task falls when trying to read the imported schema. here are

  • Macbook Pro Display not waking from sleew

    Alright so firstly I am aware of the ongoing issues with MacBook Pro's not waking up from sleep period, but that's not what is happening to me. I've got a 2.5 GHz MacBook Pro, the model that is still currently selling. It always wakes from sleep just