Configuration for extensions filter while using Tomahawk 1.1.6

Hello,
I am using Sun RI 1.1 with tomahawk 1.1.6 and using facelets.
I am stucked with following error:
SEVERE: Error Rendering View[/pages/employees-calendar.xhtml]
java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see: http://myfaces.apache.org/tomahawk/extensionsFilter.html
     at org.apache.myfaces.renderkit.html.util.AddResourceFactory.throwExtensionsFilterMissing(AddResourceFactory.java:358)...My web.xml content for filters are as follows:
<filter>
    <filter-name>extensionsFilter</filter-name>
    <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
    <init-param>
         <description>Set the size limit for uploaded files.
            Format: 10 - 10 bytes
                    10k - 10 KB
                    10m - 10 MB
                    1g - 1 GB
        </description>
        <param-name>uploadMaxFileSize</param-name>
        <param-value>100m</param-value>
    </init-param>
    <init-param>
         <description>Set the threshold size - files
                below this limit are stored in memory, files above
                this limit are stored on disk.
            Format: 10 - 10 bytes
                    10k - 10 KB
                    10m - 10 MB
                    1g - 1 GB
        </description>
        <param-name>uploadThresholdSize</param-name>
        <param-value>100k</param-value>
    </init-param>
    <init-param>
          <description>Set the path where the intermediary files will be stored.</description>
     <param-name>uploadRepositoryPath</param-name>
     <param-value>/temp</param-value>
     </init-param>
</filter>
<filter-mapping>
     <filter-name>extensionsFilter</filter-name>
     <url-pattern>*.jsf</url-pattern>
</filter-mapping>
<filter-mapping>
     <filter-name>extensionsFilter</filter-name>
     <url-pattern>/faces/*</url-pattern>
</filter-mapping>
<servlet>
  <servlet-name>Faces Servlet</servlet-name>
  <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
  <load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
  <servlet-name>Faces Servlet</servlet-name>
  <url-pattern>*.jsf</url-pattern>
</servlet-mapping>Please suggest, If I am missing any thing. I have tried many link from google but could not get any solution for this.

Try mapping the filter by the servlet name, instead of my the URL.
    <filter-mapping>
        <filter-name>extensionsFilter</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>

Similar Messages

  • Exception while using Tomahawk

    I am using tomahawk datalist in a page. All works fine and data is also displaying on the page but i am getting the following exception:
    SEVERE: Error while serving resource: prototype.PrototypeResourceLoader/prototype.js, message : null
    ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error
         at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:327)
         at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
         at org.apache.catalina.connector.Response.flushBuffer(Response.java:537)
         at org.apache.catalina.connector.ResponseFacade.flushBuffer(ResponseFacade.java:276)
         at org.apache.myfaces.renderkit.html.util.DefaultAddResource.serveResource(DefaultAddResource.java:560)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:125)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.net.SocketException: Connection reset by peer: socket write error
         at java.net.SocketOutputStream.socketWrite0(Native Method)
         at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
         at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
         at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:746)
         at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
         at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:304)
         at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:991)
         at org.apache.coyote.Response.action(Response.java:182)
         at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
         ... 19 more
    Nov 27, 2008 4:44:03 PM org.apache.myfaces.webapp.filter.ExtensionsFilter doFilter
    SEVERE: Exception wile retrieving addResource
    java.lang.IllegalStateException
         at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:418)
         at org.apache.myfaces.renderkit.html.util.DefaultAddResource.serveResource(DefaultAddResource.java:583)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:125)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)

    ohh i got something new...
    When i delploy my project and run it for the first time it says:
    Nov 27, 2008 8:39:13 PM org.apache.myfaces.shared_tomahawk.config.MyfacesConfig getBooleanInitParameter
    INFO: No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true
    Nov 27, 2008 8:39:13 PM org.apache.myfaces.shared_tomahawk.config.MyfacesConfig getBooleanInitParameter
    INFO: No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
    Nov 27, 2008 8:39:13 PM org.apache.myfaces.shared_tomahawk.config.MyfacesConfig getBooleanInitParameter
    INFO: No context init parameter 'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false
    Nov 27, 2008 8:39:13 PM org.apache.myfaces.shared_tomahawk.config.MyfacesConfig getBooleanInitParameter
    INFO: No context init parameter 'org.apache.myfaces.AUTO_SCROLL' found, using default value false
    Nov 27, 2008 8:39:13 PM org.apache.myfaces.shared_tomahawk.config.MyfacesConfig getStringInitParameter
    INFO: No context init parameter 'org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value org.apache.myfaces.renderkit.html.util.DefaultAddResource
    Nov 27, 2008 8:39:13 PM org.apache.myfaces.shared_tomahawk.config.MyfacesConfig getBooleanInitParameter
    INFO: No context init parameter 'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' found, using default value true
    Nov 27, 2008 8:39:14 PM org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader getLastModified
    SEVERE: Unparsable lastModified : @lastModified@
    But everything runs fine on the page but after that when i refresh the page i got the exception, mentioned above

  • Where condition for reading infotype while using ldb

    hi
    i want to read info from infotype p0000
    using where condition eg: for pernr = ' '.
    i am using LDB pnp.
    how can i put the where condition while using macro
    rp-provide-from-last.
    regards
    cs

    in fact you don't have to get the values, you only need to tell to the program to take them into account :
    GET PRPS.
      CHECK SELECT-OPTIONS.

  • Toggling Location Services for apps to "While Using" not possible in iOS 8

    So I've read one of the features in iOS 8 is being able to toggle the location services features of apps as follows:
    Never
    Always
    While Using
    I thought this would be useful because it could potentially help saving battery, however, I've only got the "Never" and "Always" options.
    Only after opening an app have I found that the "Always" option switches to "While Using" , but then the "Always" option disappears. But this isn't true for all apps.
    Is this an app specific "feature", then, as that's not how websites are labelling it.

    Hello CCC,
    It is happening on the following devices:
    iPhone5
    iPhone5s (two)
    each have a "Family" generated iTunes account which has been associated to my iTunes account as the organizer. I would probably like to see it resolved on the iPhone5s (son and daughter) first and then the iPhone5 (wife).
    2. I am also experiencing issues with "Mail" using IOS 8 in that email will not delete from my inboxes (same devices as above)...
    3. I also have an issue with iCalendar not syncing events to my family members devices (iPhone5 and iPhone5S) using IOS 8. I entered my son's volleyball games into calendar on my macbook which is associated to my apple id as organizer and none of the other devices  associated to other family iTunes account received the updates. I have an iPhone5 as well and I received the updates.
    4. I am also experiencing issues with Family not recognizing pictures of family members which I have been trying to get fixed up.
    I don't think I have ever experienced this many glitches when updating to a new version from Apple before:(. I sure hope this is not going to be the new norm.
    I have also noticed that Health kit does not allow you to change the unit of measures within the application that it forces you to use the country's standard. This might be fine for younger individuals but as for me who grew up learning imperial and changed to metric halfway through school I would prefer the option to choose which unit of measure to use.
    Thanks for taking the time to respond,
    Dregor104

  • Best sockets/cores configuration for SQL VM while adhering to license

    Hi All,
    I have a SQL 2008 VM on VMware configured to have 4 vCPUs.
    The license we purchased a long time ago is for 2 x SQL Server Std Processor licenses.
    The host it is running on is 2 sockets x 6 cores + HT = 24 available CPUs/threads.
    Within VMware VCentre I can configure this as:
    1) 1 socket x 4 cores
    2) 2 sockets x 2 cores
    3) sockets x 1 core (? am I in license compliance here?)
    What would be the best sockets/core setting for this VM? I've read that we should match the NUMA configuration of the underlying host (https://blogs.vmware.com/vsphere/2013/10/does-corespersocket-affect-performance.html)
    but the NUMA thing confuses me.
    That being said, to comply with the license I have, I understand that 1 'processor' is equivalent to 1 socket so I can go with option #1 or #2 above. If so, which one is better from a performance perspective or does sockets/cores not matter performance-wise?
    Thanks in advance

    Hi dnaman,
    According to your description, if you want to use licensing individual Virtual Machines by using the Per Core Licensing Model, customers must purchase a core license for each v-core (or virtual processor, virtual CPU, virtual thread) allocated to the VM,
    subject to a four core license minimum per VM. For licensing purposes, a v-core maps to a hardware thread.
    Note: Licensing individual VMs is the only licensing option available for SQL Server Standard Edition customers who are running the software in a virtualized environment under the Per Core model. For more information, see
    licensing guide for SQL Server .
    For more detailed information regarding to the license issue, please call 1-800-426-9400, Monday through Friday, 6:00 A.M. to 6:00 P.M. (Pacific Time) to speak directly to a Microsoft licensing specialist. For international customers, please use the Guide
    to Worldwide Microsoft Licensing Sites to find contact information in your locations.
    Thanks,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Output type not created for outbound delivery while using SHMNT05 idoc type

    Hi Experts,
    Please help me to solve the below issue.
    Problem:- I want to to generate an IDOC(using type SHPMNT06) once the PGI is done for an outbound delivery.
    Already it is working fine when used DESADV.DESADV01 or DESADV.DELVRY07. But now the output type is not getting created when used SHMNT.SHPMNT06. I have created a separate output type ZPJ7 just as a mirror copy of the earlier output type(ZPJ6) used for DESADV.DELVRY07.
    Question:- Is it possible to use idoc SHPMNT06 instead for DESADV01 or DELVRY07? If yes then what are steps to be followed?
    The reason why SHPMNT06 idoc is planned:- We have a scenario to send outbound delivery to 3rd party system via XI. If the outbound delivery is for National(Not for Export) and PGI is completed then send the idoc straight forward to XI otherwise DO NOT generate the idoc, but just create the delivery. Collect all the deliveries in a transport and send it in a shipment. The shipment details can be sent using SHPMNT idoc. Now from XI perspective, if we can utlitze the same SHPMNT idoc for the National delivery(1st case) then perhaps this will require less effort. Hence shipment idoc is required to be generated when the delivery is created and PGI is done.
    Also it would be great if you can advice some better way to solve above mentioned scenario.
    Many Thanks,
    Sanjay

    There could be several reasons. Go to the document and in the extras-output check output determination analysis in the processing log.
    If the output has been created successfully then you need to see your printer determination. Ask basis to check it up. If the problem is that even the print preview is not coming. Check your communication in the output analysis and ensure LOCL is selected. Any other printer will need to be configured.
    If thats done already then check whether you have maintianed the condition record.
    If that too is done then check whether your output type has been assigned to the output procedure and that the output type is listed in the procedure.
    regds
    Jude

  • "Best" configuration for new Mac Pro used for Aperture?

    I'm getting ready to order a new Mac Pro and would like to configure it to optimize Aperture performance.
    On CPUs - I have found no benchmarks which show whether Aperture would benefit from 2 quad core processors versus 1. Does anyone know of any benchmarks or have any experience using a single quad core? I don't want to spend $500 on a 2nd processor if Aperture can't use it.
    On Graphics cards - I was sold on the GForce 8800, due to it's supposed blazing speed for gaming and it's larger on board memory. However, after reading the following review http://www.barefeats.com/harper10.html , these guys seem to imply that applications such as Aperture actually run faster with the standard Radeon 2600 video card! If anyone has any experience or opinions on this review, I'd love to hear them!
    On memory - I know from experience that Aperture will use all of the physical memory you make available to it. I plan on ordering the standard 2GB from Apple, then adding 8GB from 3rd party for total of 10MB.
    Any help would be greatly appreciated.

    I can only say that when faced with the same decision last month, I went with a 2.8 8-core/8800GT/10gb RAM/library stored on 2nd internal drive setup and am completely satisfied with Aperture's speed. Beyond satisfied, really, borderline thrilled to be honest. No beach balls, perfectly responsive adjustment sliders, smooth and quick scrolling through images (even with Quick Preview mode turned off). Aperture 2 definitely takes advantage of all 8 cores - I have MenuMeters installed and can watch its CPU usage across all 8 cores. Exporting, for example, is fast and uses all cores for background processing.
    I have seen a couple small anomalies though...when moving photos around in a light table, I get some odd flashing artifacts on the right side of screen that could be graphics card related. Visually annoying but it doesn't affect performance. I'm also seeing some weird behavior with keywords not appearing in Tooltips and in the Viewer, but it's intermittent and is most likely a software bug and not my hardware setup.

  • No way 2 get FW800 bandwidth for my HDs while using a FW400 audio interface

    I make music with my MBP. I use LaCie d2 hard disks, and a M-Audio FW410 audio interface.
    I recently sold my MBP 2.0 to upgrade to the newer MBP 2.33, because I need FW800 bandwidth to get the maximum audio track count out of my system using Logic Pro and ProTools M-Powered.
    I've made this work before on a G5 dual2.0 - by using only the front panel FW400 port, I was able to get the rear FW800 port to work at full bandwidth.
    Not so with the new MBP.. I knew that plugging anything into the MBP's FW400 port would take the whole bus down to 400, so I purchased a SIIG FW 2-port ExpressCard/34 to create a separate FireWire bus, hoping that I could then use my FW410 interface with it @ 400Mb/sec, while keeping the LaCie drives alone on the FW800 port to get 800Mb/sec.
    Unfortunately, as soon as the SIIG card is inserted, even though it does create a separate FW bus, it still takes the MBP's built-in FW bus down to 400Mb/sec!
    This is poor design IMHO, because it means there is no way to use the full 800Mb/sec bandwidth of the FW800 port if you're trying to use any FW400 interface at the same time.. And of course other than RME's FireFace800, nearly all audio interfaces work at 400Mb/sec. And since I also use ProTools M-Powered, it's not even an option.
    Why does the old G5 have properly separate FW controllers, but the new MBP does not?
    My only option now to get a SATA ExpressCard/34 and new SATA enclosures for all my drives.. Needless to say I'm not happy and wish Apple would publish more detailed info about such things!
    MBP 2.33 Intel Core 2 Duo   Mac OS X (10.4.8)   2Gb Ram, LaCie d2 HDs, M-Audio FW410, SIIG Exp34 2-port FW card

    That is very interesting.
    I understand your dillema and have to agree with you that Apple should publish this information.
    It does rather compramise the addition of the fw800 port and one would naturally assume that the two busses were seperate.
    The lack of info from Apple is reflected in the fact that those who read this forum are significantly more knowledgeable than those who work for Apple.
    Well done for posting this.
    If anyone can confirm it with a second opinion we can then rest assured in our greater knowledge.
    Apple - - - once again get with it and drop the secrecy.

  • Special consideration for coding clients while using weblogic clustering

              Hi.
              I wanted to know whether there are any special consdirations to
              be taken while coding clients(servlets in our case) for EJBs when
              we are using clustering of App servers.
              In our setup, we are following the recommended 2-tier architecture
              for Weblogic5.1
              thanks and regards,
              Amol
              

    Amol wrote:
              > Hi,
              > adding a couple of points to the previous mail:
              > 1. In case of servlet failure after doXXX() method has been
              > called and before the method returns, if the app server
              > fails, will doXXX() be called again on the servlet in the
              > secondary server?
              > 2. How much time does it take for the servlet session on
              > one machine to be replicated on the second machine when
              > using in-memory replication.
              It depends on the size of the object and complexity.
              -- Prasad
              >
              > Thanks,
              > Amol
              >
              > "Amol" <[email protected]> wrote:
              > >
              > >Hi kumar (and everybody),
              > >
              > >Your opinion resolves the doubt i had in mind, since even
              > >WebLogic
              > >docs do not say anything about clustering affecting the
              > >coding
              > >of bean clients.
              > >
              > >However may I request you to please evaluate the same
              > >query with
              > >respect to the following conditions:
              > >1. The Session bean calls a stored proc on the db. After
              > >the call
              > >to stored proc and before the stored proc returns with
              > >the results,
              > >the app server fails.
              > >Here there could be two cases of interest, a) Stored proc
              > >does
              > >a write on db -OR- b) Stored proc does only a read on
              > >db
              > >2. The Session bean calls an Entity bean which "writes"
              > >to the
              > >db. The db write is successful, but before the entire
              > >call to the
              > >session bean is completed(that is before user gets his
              > >results)
              > >the Server fails. Now permanent changes have been made
              > >to the db,
              > >but client doesnt get the results.
              > >
              > >Please note the fact that we are using recommended 2-tier
              > >architecture
              > >and in this case server failure would imply failure of
              > >Servlet
              > >as well as the beans.
              > >
              > >Regards,
              > >Amol
              > >--------------------------
              > >
              > >Kumar Allamraju <[email protected]> wrote:
              > >>Absolutely not. Make sure the objects you are putting
              > >>in the session are
              > >>serializable.
              > >>
              > >>
              > >>
              > >>Amol wrote:
              > >>
              > >>> Hi.
              > >>> I wanted to know whether there are any special consdirations
              > >>to
              > >>> be taken while coding clients(servlets in our case)
              > >>for EJBs when
              > >>> we are using clustering of App servers.
              > >>>
              > >>> In our setup, we are following the recommended 2-tier
              > >>architecture
              > >>> for Weblogic5.1
              > >>>
              > >>> thanks and regards,
              > >>> Amol
              > >>
              > >
              Cheers
              - Prasad
              

  • Brand new iMac i7 restarts for no reason while using FCP

    I have had my iMac i7 for less than a month. I am having the same issue... The computer blanks and restarts with no warning whatsoever.
    This is happening while editing/playing back video in Final Cut Pro 6.0.6. It is a multicam edit – 5 streams of 1280x1080 HD footage. I know this is very taxing on the machine, however, I am monitoring the system stats and it doesn't appear to be redlining.
    Regardless... If it were too taxing on the machine, I could see FCP crashing, but the restart thing is weird. I'm ready to send this thing back to Apple.
    All RAM is factory-installed Apple RAM. No modification have been made. All system and app updates are current.
    If anyone has any suggestions, please let me know!!
    Thanks,
    Matt

    Hi maooley
    Reset the SMC (System Management Controller) > http://support.apple.com/kb/HT3964
    +1. Shut down the computer.+
    +2. Unplug the computer's power cord.+
    +3. Press and hold the power button for 5 seconds.+
    +4. Release the power button.+
    +5. Attach the computers power cable.+
    +6. Press the power button to turn on the computer.+
    Then restart resetting the PRAM > http://support.apple.com/kb/HT1379
    +Restart holding the Command-Option-P-R keys before the gray screen appears and hold the keys down until the computer restarts and you hear the startup sound for the second time.+
    This is also a good time to check for any loose power connections and/or replace an old surge protector.
    Then if *"the computer blanks and restarts with no warning whatsoever"* it is likely a hardware problem and you will need to contact Apple Support. > http://www.apple.com/support/contact/
    Dennis

  • Some Pro's Opinions on the Best iPod for exercise and while using the MBP.

    Is it true that because of the moving parts that the classic should not be used for any type of exercise? When they first came out, I never thought about this or never got this from anybody else so I used my Classic for year without any trouble. I do not do aerobic exercise since the ear buds would not stay in my ear canal, but it seemed to work great. this was a long time ago, I think around 2001, but it got stolen so that ended that for me.
    I am now in the market for another one, getting some better Westone 3 ear plugs, but I am not sure what iPod to get. I am not into breaking iPods, now that I have this information that was not a problem many years ago, but I would like some feedback if anybody cares to share their experience. I would need a case and wondering if anybody has used a case that works well for exercise as far as sweat clipping it somewhere, etc.
    finally, has anybody come across the articles they have on here somewhere that applecare uses when we all cal in with a problem, they are the same articles that applecare (I heard this, but makes sense) uses as a starting point in trouble shooting problems. Anybody know how to get in to that archive?
    As far as the ear plugs, I know a headset would be better to use with the MBP, but since I am spending a fortune for the Westone 3 ear plugs, I am trying to see if they will sound good on the MBP.
    God Bless.

    iPods with hard drives such as the Classic (the older iPod you describe was not a Classic by the way. It's counterintuitive but the Classic is the most recent series of hard drive based iPods) will be more prone to failure if subjected to jarring. "More prone" doesn't mean that the will fail you ever exercise with them. My first gen iPod (the 5gig brick) was used for running when I owned it and is still being used for running by the friend I gave it to.
    I also used my 3rd gen Nano, 2nd gen shuffle and all three generations of Touches for exercise, including running. The are all flash based so less susceptible to problems from jarring or bouncing. The Nano and the 2nd and 3rd gen touch can be used with the Nike+ Sport kit which is nice if you walk or run. The Touch also has applications that can be useful when exercising. For example, I use an interval timer. The 2nd gen Shuffle is my iPod of choice when racing as it's easier to hide if they want to give me a hard time about it and because it's so light. Before the Touch supported the Nike+ Sport Kit, I used the Nano a lot.
    My best advice, especially if you're not running, is to buy whichever iPod suits most of your needs. If the Classic suits you because of it's greater capacity, for example, go for it.
    Best of luck.

  • Error in DTW for Special Prices while using

    Hi All,
             while tryin to import Special prices through DTW, I'm gettin an error message, " No Price defined for item in selected price list". CAn anyone please suggest how to import special prices and whts the casue of this error??
    Thanks in advance,
    Joseph

    Hi Joseph,
    Check the link
    Updating Special Prices via DTW
    special prices
    Re: Price List per Document Line
    DTW Template for Uploading Special Prices for Business Partners.
    *Close the thread if issue solved.
    Regards
    Jambulingam.P
    Edited by: Jambulingam P on Jun 29, 2009 11:57 AM

  • Preverify ERROR for in Eclipse while using SATSA-crypto.jar

    I have created simple application to encrypt the string using Cipher class like below:
    This code snippet I got from the forums.nokia;
    In this The string "THIS IS A SECRET MESSAGE" is encrypted and decrypted using the key "SECRET!!" .
    import java.security.InvalidKeyException;
    import java.security.NoSuchAlgorithmException;
    import javax.microedition.lcdui.Command;
    import javax.microedition.lcdui.CommandListener;
    import javax.microedition.lcdui.Displayable;
    import javax.microedition.lcdui.Form;
    import javax.microedition.lcdui.Item;
    import javax.microedition.lcdui.TextBox;
    import javax.microedition.lcdui.TextField;
    import javax.crypto.BadPaddingException;
    import javax.crypto.Cipher;
    import javax.crypto.IllegalBlockSizeException;
    import javax.crypto.NoSuchPaddingException;
    import javax.crypto.ShortBufferException;
    import javax.crypto.spec.SecretKeySpec;
    public class FirstForm extends Form implements CommandListener {
         TextField txtData=new TextField("Enter the Data","",10,TextField.ANY);
         Command cmdEncrypt=new Command("Encrypt",Command.SCREEN,1);
         public FirstForm(String arg0)
              super(arg0);
              this.append(txtData);
              this.addCommand(cmdEncrypt);
              this.setCommandListener(this);
         public void commandAction(Command cmd, Displayable frm)
              if(cmd==this.cmdEncrypt)
                   System.out.println("Command Is Pressed.......");
                   byte[] msg = "THIS IS A SECRET MESSAGE".getBytes();
                   byte[] enMsg = new byte[10000];
                   byte[] deMsg = new byte[10000];
                   //create new cipher using DES algorithm
                   try {
                        Cipher c = Cipher.getInstance("DES");
                        //our raw byte[] key - please note that since we use DES algorithm,
                        //the key must be 8 bytes long
                        byte[] b = "SECRET!!".getBytes();
                        //init the cipher to encrypt the data
                        c.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(b,0,b.length,"DES"));
                        int numBytes = c.doFinal(msg, 0, msg.length, enMsg, 0);
                        System.out.println("Encrypted Message is"+enMsg);
                        //init the cipher to decrypt the data
                        c.init(Cipher.DECRYPT_MODE, new SecretKeySpec(b,0,b.length,"DES"));
                        numBytes = c.doFinal(enMsg, 0, numBytes, deMsg, 0);
                        String s = new String(deMsg,0,numBytes);
                        System.out.println("Decrypted Message is"+s);
                   } catch (InvalidKeyException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (NoSuchAlgorithmException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (NoSuchPaddingException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (IllegalStateException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (ShortBufferException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (IllegalBlockSizeException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (BadPaddingException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
    }after clicking on command button the Encrypted and decrypted sting is shown on the console
    I have tested this code with wtk2.5.2.
    This code works fine with sun'sWTK 2.5.2
    But when; I have created project with the eclippse and wtk22
    1) I added the satsa-crypto.jar in projrct->Properties->java-Builder-Path in "Library tab"
    2)I Had also checked the checkbox before satsa-crypto.jar "Order-Of-Export Tab"
    I am using the Ant Built
    After Building I got Error saying::
    Buildfile: D:\nitins_workspace\Encrypt\build.xml
    init:
    j2mepolish:
    [j2mepolish] info: the license attribute is no longer supported. Please place your license.key file either to ${project.home} or to ${polish.home}.
    [j2mepolish] J2ME Polish 2.0-RC4 (GPL License)
    [j2mepolish] Loading device database...
    [j2mepolish] Using locale [de_DE]...
    [j2mepolish] assembling resources for device [Generic/midp2].
    [j2mepolish] preprocessing for device [Generic/midp2].
    [j2mepolish] compiling for device [Generic/midp2].
    [j2mepolish-javac-Generic/midp2] Compiling 24 source files to D:\nitins_workspace\Encrypt\build\real\Generic\midp2\de_DE\classes
    [j2mepolish] obfuscating for device [Generic/midp2].
    [j2mepolish] proguard: ProGuard, version 3.5
    [j2mepolish] proguard: Preparing output jar [D:\nitins_workspace\Encrypt\build\real\dest.jar]
    [j2mepolish] preverifying for device [Generic/midp2].
    [j2mepolish] preverify:Error preverifying class u
    [j2mepolish] preverify:    VERIFIER ERROR u.a(ILm;Lw;)V:
    [j2mepolish] preverify:Cannot find class com/sun/midp/ssl/Key
    [j2mepolish] Preverify call failed: 1
    [j2mepolish] C:\WTK22\bin\preverify.exe -classpath D:\Java\J2ME-Polish\import\midp-2.0.jar;D:\Java\J2ME-Polish\import\cldc-1.0.jar; -d D:\nitins_workspace\Encrypt\build\real\Generic\midp2\de_DE\obfuscated -nofp -nofinalize -nonative D:\nitins_workspace\Encrypt\build\real\Generic\midp2\de_DE\obfuscated
    BUILD FAILED
    D:\nitins_workspace\Encrypt\build.xml:109: Unable to preverify for device [Generic/midp2] - preverify returned result 1
    Total time: 7 seconds What may be the reason of this??

    I think you need to post the stack trace error message to get a response.

  • Configuring a snow airport while using 10.7

    I have several Airport stations.  One of them is an old snow airport.
    I want to configure it to expand my network but I have been unable to configure it.
    I finally found that I need Airport Admin utility version 4.2.5 to do it.  I downloaded it but it appears LION (10.7 anything) is unable to open this application.  Lion (I believe) has discontinued uses of Rosetta and this utility may require it.
    Can anyone out there tell me if there is a way to configure this thing?

    Just to be sure, by "old snow" are you referring to the 802.11b Dual Ethernet (aka Snow) AirPort Base Station or the similar dome-shaped 802.11b/g AirPort Extreme Base Station?

  • Set a timeout for crystal sessions while using the Windows.Forms.Viewer?

    Hi,
    I am looking for a way to set the timeout for the crystal report sessions when using the Windows.Forms.Viewer in a .NET application. I guess that the default value is 20 minutes (like in the entperprise installations) but we cannot afford to keep many sessions open for that long. Is there a registry entry which can be set? Or even a way to do this programmatically?
    Thank you in advance,
    Stratos

    Hi David,
    we are talking here about a standalone .NET application where the reports are installed locally (like the application itself). We are not retrieving the reports from a server. The whole thing was developed using the crystal report viewer model probably because it was easier to do so. Is there a method in this model to tell the crystal runtime to do the clean-up work either for a report (like the ReportDocument.Close() ) or for the entire runtime instance. Dispose() does not seem to help us. If you say that there is no other way than redesign then we have to consider this option also.
    Cheers
    Stratos
    PS: What I was thinking of (as Plan B instead of using the ReportDocument object model) is to instantiate the crystal report viewer object in a separate process (.exe). Please note that we open a new crystal report viewer windows for each report, which is displayed. Closing the viewer window (ie. terminate the process) will at least then clean up and release the crystal DLLs and hopefully close the database connections. Or am I missing something here?
    Edited by: Efstratios Karaivazoglou on Jul 29, 2008 10:05 PM

Maybe you are looking for