"Cannot  parse the struts configuration file" when using the Struts Portlet Wizard

I'm currently trying to deploy the struts webapp from Struts 1.1 into
Weblogic Portal 8.1 using the Struts Portlet wizard.
I select the struts module successfully and am prompted for the
location of configuration file.
As soon as I hit next, I am prompted with a dialog informing "Cannot parse the
struts configuration file."
I have 't started my server.
Thanks
Kicha

I'm currently trying to deploy the struts webapp from Struts 1.1 into
Weblogic Portal 8.1 using the Struts Portlet wizard.
I select the struts module successfully and am prompted for the
location of configuration file.
As soon as I hit next, I am prompted with a dialog informing "Cannot parse the
struts configuration file."
I have 't started my server.
Thanks
Kicha

Similar Messages

  • Struts Support: "Cannot  parse the struts configuration file" when using the Struts Portlet Wizard

    I'm currently trying to deploy the struts-example webapp from Struts 1.1 RC1 into
    Weblogic Portal 8.1 using the Struts Portlet wizard made available by the "JSR
    168 and Struts Support" patch.
    I select the struts module successfully "struts-example" and am prompted for the
    location of name mangled configuration file (i.e "struts-config.xml" for struts-example
    becomes "jpf-struts-config-struts-example.xml").
    As soon as I hit next, I am prompted with a dialog informing that me that [Workbench]
    "Cannot parse the struts configuration file."
    Given that this is a file supplied with the struts distro and that I can deploy
    the struts-example to Vanilla WLS 8.1 without problems I suspect this is a problem
    with my attempt to use the Struts Portlet.
    Can anyone please help?
    Thanks,
    --Andy Hull

    I'm currently trying to deploy the struts-example webapp from Struts 1.1 RC1 into
    Weblogic Portal 8.1 using the Struts Portlet wizard made available by the "JSR
    168 and Struts Support" patch.
    I select the struts module successfully "struts-example" and am prompted for the
    location of name mangled configuration file (i.e "struts-config.xml" for struts-example
    becomes "jpf-struts-config-struts-example.xml").
    As soon as I hit next, I am prompted with a dialog informing that me that [Workbench]
    "Cannot parse the struts configuration file."
    Given that this is a file supplied with the struts distro and that I can deploy
    the struts-example to Vanilla WLS 8.1 without problems I suspect this is a problem
    with my attempt to use the Struts Portlet.
    Can anyone please help?
    Thanks,
    --Andy Hull

  • Is there a capability to save/export the time capsule settings file when using the iphone/ipad airport utility. the "file" button does not exist on the latest airport utility app.

    is there a capability to save/export the new airport 2TB time capsule settings file when using the iphone/ipad airport utility. set-up wasn't a problem but the "file" button does not exist on the latest airport utility app v6.3 to save the configuration file.

    the "file" button does not exist on the latest airport utility app v6.3 to save the configuration file.
    Sounds like you are a bit confused with version numbers.
    Latest AirPort Utility version for the iPhone / iPad is 1.3.3.  There is no option or capability to export/import settings on the iOS version(s) of AirPort Utility.....although you could take a series of screen shots and save them for future reference.
    AirPort Utility 6.3.x is found on a Mac.....not on iPhone / iPad. Export and Import options are found under the File menu in 6.3.x.

  • Firefox 33 doesn't display a pdf file when using the response object

    Firefox 33.0.2 does not display pdf files when using the code below from an asp.net program, which works for previous versions of Firefox, and also works with IE. I'm using the built-in pdf viewer. All of my plugins are disabled.
    Dim strPDF As String
    strPDF = Session("filname") 'pdf filename
    Response.Clear()
    Response.ClearHeaders()
    Response.Buffer = True
    Response.ContentType = "application/pdf"
    Response.CacheControl = "Private"
    Response.AddHeader("Pragma", "no-cache")
    Response.AddHeader("Expires", "0")
    Response.AddHeader("Cache-Control", "no-store, no-cache, must-revalidate")
    Response.AddHeader("Content-Disposition", "inline; filename=" + strPDF)
    Response.WriteFile(strPDF)
    Response.Flush()
    Response.Close()
    Response.Clear()
    Response.End()
    Session("filname") = ""

    Thanks cor-el. You pointed me in the right direction. It appears to me that a reported Firefox 33 bug with the handling of compression (Transfer-Encoding: chunked) is the culprit (https://support.mozilla.org/en-US/questions/1026743). I was able to find a work-around by specifying the file size and buffering. Below is my code, with some code from http://www.codeproject.com/Questions/440054/How-to-Open-any-file-in-new-browser-tab-using-ASP.
    Dim strPDF As String
    strPDF = Session("filname") 'pdf filename
    Dim User As New WebClient()
    Dim FileBuffer As [Byte]() = User.DownloadData(strPDF)
    If Not (FileBuffer Is Nothing) Then
    Response.Clear()
    Response.ClearHeaders()
    Response.CacheControl = "Private"
    Response.AddHeader("Pragma", "no-cache")
    Response.AddHeader("Expires", "0")
    Response.AddHeader("Cache-Control", "no-store, no-cache, must-revalidate")
    Response.ContentType = "application/pdf"
    Response.AddHeader("content-length", FileBuffer.Length.ToString())
    Response.BinaryWrite(FileBuffer)
    Response.Flush()
    Response.Close()
    Response.Clear()
    Response.End()
    End If
    Session("filname") = ""

  • Photoshop CS6 crashes all the time and especially when using the type tool... please help!

    Photoshop CS6 crashes all the time and especially when using the type tool... please help!

    Since I did not have this problem with CS5 or CS4, I can only assume something is not right with Photoshop CS6... below is my video card info:
    ATI Radeon HD 4850:
      Chipset Model:          ATI Radeon HD 4850
      Type:          GPU
      Bus:          PCIe
      PCIe Lane Width:          x16
      VRAM (Total):          512 MB
      Vendor:          ATI (0x1002)
      Device ID:          0x944a
      Revision ID:          0x0000
      ROM Revision:          113-B9110C-425
      EFI Driver Version:          01.00.383
      Displays:
    iMac:
      Resolution:          2560 x 1440
      Pixel Depth:          32-Bit Color (ARGB8888)
      Main Display:          Yes
      Mirror:          Off
      Online:          Yes
      Built-In:          Yes
      Connection Type:          DisplayPort
    Cinema HD:
      Resolution:          1920 x 1200
      Pixel Depth:          32-Bit Color (ARGB8888)
      Display Serial Number:          2A80273WXMN
      Mirror:          Off
      Online:          Yes
      Rotation:          Supported

  • What does the RHD symbol mean when using the multiple speakers?

    i have two 1st gen apple TVs and when i pull up the multiple speakers prompt, i see an acronym "RHD" after each device.
    what does the RHD symbol mean when using the multiple speakers?
    typically i was used to seeing the Apple TV-1  vs. Apple TV-1-RHD??
    What is the difference?

    It's been modified to run Remote HD.
    http://remotehd.com/

  • The guides all say when using the iCloud photos are shared across all devices. Why can't I see my photos from my iPhone on my iPad when it settings on both devices the iCloud for photos is on?

    The guides all say when using the iCloud photos are shared across all devices. Why can't I see my photos from my iPhone on my iPad when it settings on both devices the iCloud for photos is on?

    When you enable Photo Stream on your devices, only new photos you take or import to those devices will be automatically added to your Photo Stream. Existing photos won't.

  • HT4889 How do change the ownership of files after using the migration assistant?

    After I copied all of my files across using the migration assistant, the tool is nice enough to assume that I want to use the same ID that I had on my PC.  This is not my case as I am using a different name on the mac.  How do I get the files from the other user name?  I have already set the sharing permissions so that I can see them on both user ids, however the only way I can see to update is to copy them all.  As I have about 1TB of files, this is a little inconvenient.  Any thoughts?

    Thanks.  It got me on the right track.  At the end, I copied the 1TB over and just deleted the other profile.  I tried to set the ownership to my regular ID by removing the lock from "Get Info" but I still had to move them out of the other "user" folder.

  • When Deploying SSIS Packages to SQL Server using SSMS Import feature, is the package configuration file deployed at the same time?

    Hello, everyone,
    I have an SSIS package with a XML package configuration file. I deployed it to the sql server using the import feature in SSMS (in Stored Packages, right click MSDB, select Import, select the package to deploy in file system). My question is 
    Is the XML package configuration file also deployed? If so, which folder is it stored so that I can change the values in it? If not, is setting up the Configuration tab when scheduling a agent job the way to go manually bring the configuration file in?
    Your help and information is much appreciated.
    Regards

    Thank you Arthur for your reply. I appreciate it.
    A followup questions:
    I used direct setting for the configuration file path on C:\. But it needs to be on D:\ on the remote server. I can't create the D:\ path because I don't have D:\ drive on my computer (I understand I could use indirect setting to change the path in the remote
    server. But that's not the concern here).
    My question is:  since the configuration is not deployed, can I make it up by setting up the Configurations in creating the agent job step? That is, copy the configuration file to the D:\ drive on the remote server, in Configurations tab, add the configuration
    file on D:\ to the configuration. Will it work? Will the package still look for the original config file on C:\?  and if it doesn't find it there, will it cause any error?
    Thank you in advance for your help.
    Regards

  • Is there a way to get the actual XML string when using the JAXP SAX Parser?

    Hi All,
    I am using a JAXP SAX xml parser and am looking for a way to get the actual line of xml that is being parsed from within a content handler.
    Here's my scenario. Consider the following example xml document.
    <formCollection>
       <form name="myForm">
          <text/>
          <selection/>
       </form>
       <form name="anotherForm">
          <text/>
       </form>
    </formCollection>My hope is to validate the entire document and then insert an xml string containing each "form" element (and its sub-elements) into a map for later use. My thought was to create a String as each "form" element is being parsed (begining with the form's startElement event and concatenating until the form's endElement event is reached) and then inserting this string into the map. Is there a way to get the actual line of xml that is being parsed, rather than just the element name and attribute values?

    DrClap wrote:
    YouRang wrote:
    2. The first handler would validate the entire XML document, extract the "type" attribute from each <form> element, and place each <form> element and its sub-elements into the map of Strings, using the "type" attribute as the key. The second handler would take a <form> element and parse it into a Form object for the display. This option was the impetus for my question because it relies on the first handler being able to access the entire <form> element XML String and write it to a map.I don't see why you need the raw data from the XML document here. You should already be abstracting your data into Java classes in the first handler, instead of making the second handler do the parsing all over again.Correct, I am not referring to XForms. In this case, it happens that I am using the XML to generate an SWT ScrolledForm object and, thus, the XML element name happens to be named "form." However, the concept/design problem could apply to any type of object and the XML element could be appropriately renamed.
    My experience with XSLT is limited and I haven't done anything with it for several years. With that said, it seems that it is primarily used for generating web content, which wouldn't apply in this case because this is for a client-server application. I could be off base on this one -- if XSLT applies to much broader translations and would be more appropriate for generating Java objects than my current methodology, I could certainly look into it further.
    I apologize that option two didn't make more sense; it is difficult to explain. Yes, optimally the data should be abstracted into Java classes in the first handler. This is really an elaboration that I failed to specify when explaining option one. The problem is that the user can choose to create any number of "forms" of any type. For instance, let's say that from the File -> New menu there are options for seven different types of forms and each form is used to send completely different data. The user can select form1, select form1 again, select form4, and select form7 (or any other combination) and bring up tabs that display the different forms. The user can then enter data and submit each form separately. When the user selects File -> New -> FormX, a SWT ScrolledForm object that corresponds with FormX must be given to the display. Because SWT ScrolledForm objects do not allow a deep copy, I cannot simply read the XML <form> elements at initialization, parse them into ScrolledForm objects, and pass deep copies of the ScrolledForm objects to the display each time the user clicks File -> New -> FormX. The only simple way I see of getting a new copy of a ScrolledForm object is to reparse the appropriate XML <form> element in order to create one each time the user selects File -> New -> FormX. As such, one handler would need to read the entire XML document and parse the <form> elements into a map (or some other data structure) and another handler would need to parse individual <form> elements into SWT ScrolledForm objects. The first handler would be called at initialization and the second handler would be called each time a user clicked on File -> New -> FormX. Once again, this isn't exactly my favorite implementation... but seems the simplest given that there is no way to do a deep copy of an SWT ScrolledForm object. Hopefully that makes a little more sense. No worries if it doesn't -- I just figured I'd throw this out there and see if anyone had a better idea.

  • Picking up half written files when using the ftp/file transports

    Hello,
    We are using the custom doc over generic protocol. We have an internal delivery channel which uses the file transport to read outbound documents. We stage those documents in the directory specified in the delivery channel. The problem we are having is that B2B reads the document before it can be fully written to the directory. How do I configure my transport to read the file after it has been fully written to the staging directory?
    Cliff Wright

    Hello Cliff,
    This use can can be addressed by copying the files to a Work in Progress(WIP) folder and have an utility to copy it to the staging folder after it gets copied completely into the work in progress folder. One possible way to make sure it gets copied completely to the WIP is to check the size of the files in a regular interval for e.g 2 sec for 3 such interval and make sure the size of the file is not changing. HTH.
    Please let us know.
    Rgds,Ramesh

  • How can I open a file and get the data inside  file when using  WebStart

    When I use ClassLoader,
    Which methold can I use the read the information inside that file?
    Thanks
    Ryan

    Assuming you are trying to read the jar file.
    http://forum.java.sun.com/thread.jspa?forumID=22&threadID=572955
    rykk

  • Can't find file when use the main(String[] args) method

    I put a file under the DefaultDomain directory of Weblogic 11.1.1.5 on my local machine. Below is how I look up this file
    FileInputStream fis = new FileInputStream("input.xml");
    I started up the IntegratedWeblogicServer instance and I tested using the below 2 approaches.
    1) When I test a web service program using the below approach, it CAN'T find the input.xml file
    public static void main(String[] args)
    2) When I package it into an EAR file and deploy it onto the server then log into the admin console and use the test client approach then it's able to find the file
    How do I make it so it can find the file using #1 approach?
    Thanks

    That's how relative paths work, and it's nothing particular to Java.
    When you type ls input.xml or dir input.xml does it list the file, or give an error? If it lists the file, then it's in your current directory, and it will work if you run Java from that directory. If it gives an error, then that file is not in your current working directory, and Java won't be able to find it either.

  • Why does the revealed image flicker when using the Show/Hide feature?

    I started using the Show/Hide Button and Forms function in InDesign CS6 and have had some peculiar things happen. I was mocking up some samples and on the swf version if you hover over the left side of the blue rectangle all is fine but if you move to the right side of the blue rectangle the image starts to flicker. When you hover over the red rectangle the pop-up image just flickers constantly. I guess there must be some issue with having the button for a revealed image under some portion of the revealed image. See: http://www.idugsf.com/_a/FI_BookSamples.html .
    The problem went away when the button and the revealed image did not overlap.
    This problem didn't occur with another file I had originally created in CS5.
    On the pdf version the buttons which are on their own layer behind the revealed image moved to the front in the pdf: http://www.idugsf.com/_a/FI_BookSamples.pdf
    [email protected]

    Remove the dimensions in the following
    <div class="tooltipContent" id="sprytooltip11">  <img src="pix/1-pp-all-490x480.jpg" width="850" height="750" /></div>
    Gramps

  • I currently having problems when dialling with my 4S either from the contacts list, or when using the phone through bluetooth to my in-car system. The phone becomes confused regarding what method / route of connection handsfree, normal use or speaker.

    Hi each time i use my 4S phone a dial from the contact list, the phone will not select a communication mode, either normal speaker or handsfree (car), I have to force the phone into speaker mode and the back to normal mode before I can speak to or listen to anyone. The annoying aspect is the recipient of my call can answer but cannot hear me nor I them.
    What am I doing wrong, or is there an issue with the phone. The same situation occurs when the phone is used with bluetooth in my car, the previous iphone worked perfectly can you please advise.

    Just to recap, this is a collection of ports I have collected over time for people who needed this information when setting up the HP ePrint app so that they could view their email from within the app.  I am certain other applications also need this information.  Although lengthy, I could not find a more comprehensive place to retrieve this information.  Feel free to post additional information, faulty information, or other related topics below as this is simply a collection of data and it would be practically impossible to test all of them. Thank you!
    Don't forgot to say thanks by giving "Kudos" if I helped solve your problem.
    When a solution is found please mark the post that solves your issue.
    Every problem has a solution!

Maybe you are looking for

  • I keep getting "Error 5002" When I try to buy an album. What do I do?

    I keep getting "Error 5002" When I try to buy an album. What do I do? I already reinstalled iTunes... not sure what this error means or how to be able to buy this album.

  • "Find" isn't working?

    -I've installed recent updates today. -I'm using CS5.5. -I'm using Windows 7. -My Computer is an Acer Aspire. -I think I've already tried to recreating Flash Professional preferences; I did the Hot-Key combination, Windows asked me if I want Flash to

  • Runtime exception or Webpage expired.

    Hi, We are using ISA application (CRM 3.0) and we are facing frequently performance issues. users getting "Runtime exception or Webpage expired". It is taking more time when some activities are performing on ISA application like changing order status

  • Parser

    hai all, I want to extract all the starting tags it's attributes and values ,links from a HTML page. now i can extract only starting tag using the code below public void parse(File HTMLFile) throws IOException { DTD dtd = DTD.getDTD("jsp.dtd"); Parse

  • Using Skype and iOS 5

    I use to watch movies on Netflix and talk to my bf at the same time on skype, since we're often apart. Since the update anytime I open any app with audio Skype crashes. Any ideas?