HTTPService POST with XML does not declare charset encoding

Hi all.
I'm trying to do a HTTP POST of some XML using HTTPService
and I've got it working apart form the fact that the HTTP message
sent does no declare what charcater set it is using for encoding.
As a test I send a 'ñ' character and it seems from the
resultant bytes that the charset being used is UTF-8.
My ActionScript is...
var xml:XML=new XML(<root/>);
xml.@testCharacter="ñ";
xml.appendChild(<login/>);
xml.login.@username="bob";
xml.login.@password="secret";
var httpService:HTTPService=new HTTPService();
httpService.url='
http://app.localhost/null';
httpService.method="POST";
httpService.contentType=HTTPService.CONTENT_TYPE_XML;
httpService.request=xml;
httpService.send();
And what seems to get sent over the wire is (shown in
8bit-ASCII)...
POST /null HTTP/1.1
Host: app.localhost
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png ,*/*;q=0.5
Accept-Language: en,en-us;q=0.7,en-gb;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Content-type: application/xml
Content-length: 77
<root testCharacter="A±">
<login username="bob" password="secret"/>
</root>
Anyone know (1) how I can control what character set gets
used for encoding and (2) how I can get either XML or HTTPService
to declare what the encoding is?
Thanks in advance, Neil.

Jarod,
XML parser product managers who might be able to help you on a parser-specific issue like this "hang out" here on OTN in the XML forum. Have you tried posting there to catch their attention? Thanks.

Similar Messages

  • Upgrade with DBUA to 12c hangs while upgrade.xml does not generated

    Hi together,
    actually I've an upgrade problem with dbua. At a server with Oracle Linux 6 I've running an 121.0.2 GI. in that GI there are two Oracle Homes: one 12.1.0.2 wih PSU1 and one 11.2.0.4 with PSU4. I'm trying to upgrade the database "testdb" from 11.2.0.4 to 12.1.0.2 with dbua.
    So I'm logged in and set all session parameters to the new 12.1.0.2 home:
    $ export ORACLE_HOME=/usr/local/oracle/product/12.1.0.2/
    $ export PATH=$ORACLE_HOME/bin:$PATH
    After that I start the dbua. i select my testdb and wait. And still wait..... After selecting the db and dbua has getting al the database information he will hang at 0% by "Run Pre Upgrade Utility". But why?
    So I've looked into trace.log from dbua:
    oracle@testserver- DB_12_1_0_2:/usr/local/oracle/cfgtoollogs/dbua/testdb/upgrade2
    $ ll
    total 96
    -rw-r----- 1 ora121 oinstall    1374   Oct 17 10:56 mapfile.txt
    -rw-r----- 1 ora121 oinstall      104   Oct 17 10:56 preupgdir.sql
    -rw-r----- 1 ora121 oinstall  29326    Oct 17 10:56 sqls.log
    -rw-r----- 1 ora121 oinstall  53994    Oct 17 10:56 trace.log
    -rw-r----- 1 ora121 oinstall         0    Oct 17 10:56 trace.log.lck
    ora121@QUM169 - DB_12_1_0_2:/usr/local/oracle/cfgtoollogs/dbua/testdb/upgrade2
    $ less trace.log
    In the trace.log he tells me, that he weren't able to create a file called upgrade.xml and throws a java exception:
    [Thread-77] [ 2014-10-17 10:56:28.200 CEST ] [PreUpgradeToolGroup.validate:252]  validateConnectionToDB using user:=null
    [Thread-77] [ 2014-10-17 10:56:28.233 CEST ] [PreUpgradeToolGroup.validate:268]  create log dir obj for pre upgrade tool
    [Thread-77] [ 2014-10-17 10:56:28.234 CEST ] [PreUpgradeToolGroup.validate:274]  creating dir object for pre upgrade spool at/usr/local/oracle/cfgtoollogs/dbua/testdb/upgrade2
    [Thread-77] [ 2014-10-17 10:56:28.239 CEST ] [PreUpgradeToolGroup.validate:320]  Executing CREATE OR REPLACE DIRECTORY PREUPG_OUTPUT_DIR AS '/usr/local/oracle/cfgtoollogs/dbua/testdb/upgrade2'  using SQLEngine.
    [Thread-77] [ 2014-10-17 10:56:28.244 CEST ] [PreUpgradeToolGroup.validate:362]  validationLogDir =
    [Thread-77] [ 2014-10-17 10:56:28.244 CEST ] [PreUpgradeToolGroup.validate:376]  Preupgrade Utility used= /usr/local/oracle/product/12.1.0.2/rdbms/admin/preupgrd.sql
    [Thread-77] [ 2014-10-17 10:56:29.742 CEST ] [PreUpgradeToolGroup.validate:462]  Executed Pre Upgrade Script successfully, now load MEP............
    [Thread-77] [ 2014-10-17 10:56:29.742 CEST ] [DbuxUtils.writeRootElementForUpgradeXML:509]  Passed in upgrade xml file /usr/local/oracle/cfgtoollogs/dbua/testdb/upgrade2/upgrade.xml does not exist.
    [Thread-77] [ 2014-10-17 10:56:29.742 CEST ] [PreUpgradeToolGroup.validate:479]  Executing preupgrade tool
    [Thread-77] [ 2014-10-17 10:56:29.743 CEST ] [PreUpgradeToolGroup.validate:480]  Spool file /usr/local/oracle/cfgtoollogs/dbua/testdb/upgrade2/upgrade.xml
    [Thread-77] [ 2014-10-17 10:56:29.743 CEST ] [DbuxUtils.getPreUpgradeLoader:236]  upgrade.xml does not generated
    [Thread-77] [ 2014-10-17 10:56:29.743 CEST ] [PreUpgradeToolGroup.validate:487]  Executing Preupgrade tool failed..Upgrade xml does not exist
    [Thread-77] [ 2014-10-17 10:56:29.743 CEST ] [PreUpgradeToolGroup.validate:491]  upgrade.xml does not generated
    [Thread-77] [ 2014-10-17 10:56:29.745 CEST ] [SQLEngine.done:2278]  Done called
    Exception in thread "Thread-77"
    java.lang.NullPointerException
            at oracle.sysman.assistants.dbma.wizard.view.ValidationPage.prepareMaps(ValidationPage.java:1989)
            at oracle.sysman.assistants.dbma.wizard.view.ValidationPage.check(ValidationPage.java:1651)
            at oracle.sysman.assistants.dbma.wizard.view.ValidationPage$Check.run(ValidationPage.java:2040)
            at java.lang.Thread.run(Thread.java:682)
    But why? Does anybody know that error?
    Thanks a lot for help and regards,
    Dave

    Yep they are! The own group they weren't in was the asmadmin group. Amusingly I had to add them both to the asmadmin group, so that the upgrade.xml was created with the oracle 12c user and group oinstal and not with oracle 11g user and group asmadmin. I can't tell you really, why, because it is a little bit confusing why he generate a file with the correct group when I add that group to the user, which was assigned wrong before to the file ?!?!

  • MachineExceptions.h:245: error: declaration does not declare anything

    I've been having a terrible time trying to compile something and have worked through most issues, but running into this error:
    /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framewor k/Headers/MachineExceptions.h:245: error: declaration does not declare anything
    What little there is on the web seems to indicate that there's something perhaps messed up with vtk on intel macs? Or perhaps something else. I also can't seem to compile vtk from source at all, so couldn't fix it that way.
    Anyone have any suggestions?
    Mac Pro   Mac OS X (10.4.9)   8-core, x1900 vid

    Hi Jeff,
    > Well, geometric algebra need not encompass the
    whole of Clifford algebras in order to be a development
    in the field.
       Of course I'm not saying that Geometric Algebra must contain the entirety of the theory of Clifford Algebras in order to be a development in the area. I'm saying that it must leave the confines of that area to be a development. I'm sure you've encountered the word "subset" in the math you've already studied. There is nothing in the definition of a subset about how much of the parent set that the subset should contain. The only requirement of a subset is that it cannot leave the confines of the parent set. I don't care how much of the original theory is omitted, I'm just saying that there exists nothing outside of the original theory.
    > Are you saying the work being done is entirely redundant
    and should perhaps be abandoned for what's already
    been done in studying Clifford algebras and their
    generalizations?
       Now you're addressing the meaning of my statements; "Entirely redundant" does characterize a subset so yes, that is what I'm saying. However, you then read in additional meaning. No, I'm not saying that it should be abandoned. I tried to devote half of the original post to saying that a rose by any other name ...
    > Perhaps it's just the way you express yourself, but
    this topic does seem like it hits a nerve with you
       You are correct. I excluded my perception of plagiarism from the set of statements that I claim to be factual but it's difficult to hide my strong emotional response to that. I agree with everything you say about reformulations but there are right ways and wrong ways to do that. Consider the following search, Google search: Clifford site:geometricalgebra.org, for the word "Clifford" on their website. The only places it appears is in source code and then it is merely a reference to a conjugation operator. There is no mention of Clifford Algebras on their website. The right way would be to state the situation up front.
       I apologize for inflicting my emotional baggage on you. All I really wanted to do is to warn you. You have exactly the right attitude. I envy the sense of wonder and discovery that you now enjoy and the last thing I want to do is to dampen that. In fact, what I would most like to convey is that that feeling shouldn't diminish as you continue. What I fear and want to prepare you for is that when you are ready to branch out and learn the math, it will likely be more difficult than it should be because they haven't given the math foundation that you would need. My fear is that you might get the impression that the math itself is more difficult than it is. I don't want frustration to hinder your efforts to learn.
       You have a great attitude now. I'm convinced that you sense the power and the beauty of the subject. As long as you resist frustration and continue to learn, you should be fine. I assure you that the subject is worth any and all effort that you put into it.
    Gary
    ~~~~
       Before borrowing money from a friend,
       decide which you need more.
             -- Addison H. Hallock

  • exception-type in web.xml does not appear to work

    WLS 60 SP1 (#101616)
              <exception-type> in web.xml does not appear to work. WLS shows standard
              "Internal error 500" page instead of a custom error page. The custom error
              page is shown if <error-code> is used instead of <exception-type>.
              Any ideas? Thanks
              

    Can you show me some of your code? This works for me.
    Also, you say that you are working with 6.0sp3. Are you sure? sp3 hasn't been
    released yet, except in a very limited beta. (I believe only internally, but I
    could be wrong about that.)
    David
    [email protected] wrote:
    Hi all,
    I have created a very simple servlet and an index.html file with a link
    to it, then packaged it into a WAR file with the appropriate web.xml and
    ias-web.xml files. I then created an application.xml file referencing
    only this servlet and adding a context root. After deployment via
    "iasdeploy deployapp simple.ear" and cycling the web server, I can reach
    the welcome file (index.html) correctly
    -"http://localhost/NASApp/simple". When I attempt to follow the link to
    the servlet ("simple servlet") the URL ends
    up as "http://localhost/NASApp/SimpleServlet" whereas it should be
    http://localhost/NASApp/simple/SimpleServlet If I type that url in, the
    servlet executes fine.
    I've deployed this into Tomcat and get the behavior I expect. It appears
    that the element in the application.xml file is ignored by
    iAS.
    I'm using iAS SP3 on Win2k (same problem on NT).
    This is such a basic behavior that I can't believe this is an existing
    bug. I must be doing something wrong...
    Any ideas?
    Thanks in advance,
    -Glen
    Files are attached.
    Name: simple.ear
    simple.ear Type: application/x-unknown-content-type-ear_auto_file
    Encoding: base64
    Description: filename="simple.ear"

  • SP 2010 upgrade fails Error C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\config\WEBCONFIG.ACCSRV.XML, does not have element "configuration/configSections/sectionGroup[@name='SharePoint']"

    I was upgrading my SP 2010 server to SP1 but at step 8 i get this error. I cleared configuration cache, moved the file out of the folder, got the same file from other farm where upgrade went smooth, but no success yet. I am at loss.
    So i have another farm in SP1. As a fall back option i was thinking to move content database on that server and start hosting site there but now i find out pre sp1 content databse cannot be moved to sp1 farm just through content database migration. 
    Do only choice i have is to build dummy sp 2010 environment, move content database there and do upgrade there and move it to final production environment? 
    Is there anything else i can do for either upgradeing the current sp 2010 or moving it to new 2010 already on SP1? 
    Can pre sp1 2010 content db be moved to sp2013 sp1 directly?
    Adit

    Hi ,
    How many SharePoint servers do you have? If you have more than one SharePoint server, you need to install SP1 on all servers in the farm.
    Make sure you run SharePoint 2010 configuration wizard using “Run As administrator”.
    Please check the log to find more information about this issue.
    In addition, here is a similar post, please take a look at:
    http://sharepointnomad.wordpress.com/2014/02/23/fixing-sharepoint-2010-configuration-wizard-error-webconfig-accsrv-xml-does-not-have-element-configurationconfigsectionssectiongroupnamesharepoint-or-it-is-invalid/
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Java APM Agent initialization failed: SEAgent.config.xml does not have a valid event sender configured

    Today I tried to configure JAVA APM on a CentOS 6.4 server with tomcat6 installed through the normal RPM package. Adding this server to SCOM was no problem and it shows itself as a 'Deep Monitored Configuration'. The last part of enabling
    JAVA APM fails. I have followed the following process:
    1. Imported the JAVA APM MP's
    2. Extracted the JAVA APM Files
    3. Copied those files to my CentOS server
    4. Added the JAVA_OPTS to my tomcat configuration file
    5. Restarted Tomcat
    When I look for the log file which needs to be created through the installation of the APM agent it cannot be find. When I look into my Catalina.out file I see the following errors:
    Mar 05, 2014 7:05:16 PM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger error
    SEVERE: Java APM Agent initialization failed: SEAgent.config.xml does not have a valid event sender configured
    com.microsoft.ManagementServices.APMAgent.Exception.ApmException: SEAgent.config.xml does not have a valid event sender configured
            at com.microsoft.ManagementServices.APMAgent.AgentThreadManager.<init>(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.AgentThreadManager.<init>(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.Agent.Monitor.AgentContext.<init>(Unknown Source)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
            at com.microsoft.ManagementServices.APMAgent.Agent.Startup.AgentContextLoader.loadContext(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.Agent.Startup.Agent.premain(Unknown Source)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
            at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
            ... 15 more
    Caused by: com.microsoft.ManagementServices.APMAgent.Exception.ApmException: Error registering MBean: com.microsoft.ManagementServices.APMAgent:type=COUNTER
            at com.microsoft.ManagementServices.APMAgent.EventSender.MBeanEventLog.registerMetricMBeans(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.EventSender.MBeanEventLog.<init>(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.EventSender.MBeanEventLog.<init>(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.AgentThreadManager.<init>(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.AgentThreadManager.<init>(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.Agent.Monitor.AgentContext.<init>(Unknown Source)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
            at com.microsoft.ManagementServices.APMAgent.Agent.Startup.AgentContextLoader.loadContext(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.Agent.Startup.Agent.premain(Unknown Source)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
            at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
            ... 15 more
    Caused by: com.microsoft.ManagementServices.APMAgent.Exception.ApmException: Error registering MBean: com.microsoft.ManagementServices.APMAgent:type=COUNTER
            at com.microsoft.ManagementServices.APMAgent.EventSender.MBeanEventLog.registerMetricMBeans(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.EventSender.MBeanEventLog.<init>(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.EventSender.MBeanEventLog.<init>(Unknown Source)
            ... 19 more
    Mar 05, 2014 7:05:16 PM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger info
    INFO: Java APM Agent loading failed (Build: 1.10.100.15, Label: NotFromLabel, BuildDate: 20131112)
    java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
            at com.microsoft.ManagementServices.APMAgent.Agent.Startup.AgentContextLoader.loadContext(Unknown Source)
            at com.microsoft.ManagementServices.APMAgent.Agent.Startup.Agent.premain(Unknown Source)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
            at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
    Caused by: java.lang.InstantiationException: Monitor initialization failed: SEAgent.config.xml does not have a valid event sender configured
            at com.microsoft.ManagementServices.APMAgent.Agent.Monitor.AgentContext.<init>(Unknown Source)
            ... 12 more
    Does anyone have seen this error before? Can someone help me with this one?
    Thnx,

    I'm running tomcat on a CentOS release 6.4 (Final) server. I installed Tomcat 6 through an RPM from the CentOS sources. I have installed Apache Tomcat/6.0.24 wit JVM version 1.7.0_09-icedtea-mockbuild_2013_01_16_18_52-b00, the JVM Vendor is Oracle Corporation.
    My tomcat configuration needs to be done in '/etc/tomcat6/tomcat6.conf'
    I installed the APM Agent in the path '/opt/apm/' with the rights  40755 (root/root). The files have the following rights:
    -rw-rw-r-- 1 root tomcat  32046 Mar  3 15:38 apm_facade.jar
    -rw-rw-r-- 1 root tomcat 244819 Mar  3 15:38 apm_monitor.jar
    -rw-rw-r-- 1 root tomcat  38110 Mar  3 15:38 apm_producers.jar
    -rw-rw-r-- 1 root tomcat 207006 Mar  3 15:38 asm-all-3.3.1.jar
    -rw-rw-r-- 1 root tomcat   4157 Mar  3 15:38 ASM_Third_Party_Notices.txt
    -rw-rw-r-- 1 root tomcat 241368 Mar  3 15:38 DispatcherStub.dll
    -rw-rw-r-- 1 root tomcat  36880 Mar  3 15:38 pmonitor.config.xml
    -rw-rw-r-- 1 root tomcat   2625 Mar  3 15:38 SEAgent.config.xml
    -rw-rw-r-- 1 root tomcat    830 Mar  5 15:19 Starter.properties
    The above rights are equal to the /etc/tomcat6 directory with the tomcat configuration files.
    In the tomcat6.conf I have added the following entries:
    #Microsoft SCOM APM
    JAVA_OPTS="${JAVA_OPTS} -Djava.library.path=/opt/apm"
    JAVA_OPTS="${JAVA_OPTS} -javaagent:/opt/apm/apm_facade.jar -Xbootclasspath/p:/opt/apm/apm_producers.jar -Xbootclasspath/p:/opt/apm/apm_facade.jar"
    When I look into the running tomcat process I see the following:
    tomcat   17401     1  0 Mar05 ?        00:00:39 /usr/lib/jvm/jre/bin/java -Djava.library.path=/opt/apm -javaagent:/opt/apm/apm_facade.jar -Xbootclasspath/p:/opt/apm/apm_producers.jar -Xbootclasspath/p:/opt/apm/apm_facade.jar
    -Djavax.sql.DataSource.Factory=org.apache.commons.dbcp.BasicDataSourceFactory -Djava.library.path=/opt/apm -javaagent:/opt/apm/apm_facade.jar -Xbootclasspath/p:/opt/apm/apm_producers.jar -Xbootclasspath/p:/opt/apm/apm_facade.jar -Djavax.sql.DataSource.Factory=org.apache.commons.dbcp.BasicDataSourceFactory
    -classpath :/usr/share/tomcat6/bin/bootstrap.jar:/usr/share/tomcat6/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar -Dcatalina.base=/usr/share/tomcat6 -Dcatalina.home=/usr/share/tomcat6 -Djava.endorsed.dirs= -Djava.io.tmpdir=/var/cache/tomcat6/temp
    -Djava.util.logging.config.file=/usr/share/tomcat6/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager org.apache.catalina.startup.Bootstrap start
    My Starter.Properties looks like this:
    # Jars to load by inner classloader.
    # Use semicolons to separate the JAR entries
    ClassPath=apm_monitor.jar;asm-all-3.3.1.jar;apm_producers.jar
    # Path to pmonitor.config
    MonitorConfigFileName=pmonitor.config.xml
    # Path to SEAgent.config
    AgentConfigFileName=SEAgent.config.xml
    # Log file name
    # Example for full-path location:
    #                  LogFileName=c:\\tracelog\\apm-java-agent.log
    # Example for relative path (to agent jar files):
    #                  LogFileName=apm-java-agent.log
    LogFileName=apm-java-agent.log
    # Log level (SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST)
    # A level of FINER or FINEST may expose Personally identifiable
    # information (PII) in the log file.  The levels below INFO are
    # intended for debugging and diagnostic use only.
    LogLevel=FINEST
    The 'apm-java-agent.log' is not created on the system. The only logging is done in the catalina.out. When restarting tomcat I see the following entries in te log file:
    INFO: Initializing Java APM Agent (Build: 1.10.100.15, Label: NotFromLabel, BuildDate: 20131112)
    Mar 06, 2014 9:35:21 AM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger info
    INFO: Java APM Agent loading succeeded (Build: 1.10.100.15, Label: NotFromLabel, BuildDate: 20131112)
    Mar 06, 2014 9:35:21 AM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger info
    INFO: Initializing Java APM Agent (Build: 1.10.100.15, Label: NotFromLabel, BuildDate: 20131112)
    Mar 06, 2014 9:35:21 AM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger warning
    WARNING: Failed registering the COUNTER MBean
    Mar 06, 2014 9:35:21 AM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger error
    SEVERE: Java APM Agent initialization failed: SEAgent.config.xml does not have a valid event sender configured
    Mar 06, 2014 9:35:21 AM com.microsoft.ManagementServices.APMAgent.Log.SystemLogger info
    INFO: Java APM Agent loading failed (Build: 1.10.100.15, Label: NotFromLabel, BuildDate: 20131112)
    Hope this gives your some more background around my problem, I double checked the permissions..

  • ERROR: serializable class HelloComponent does not declare a static final

    Hi everyone! I'm sorry but I'm a newbie to Java and I'm having some, I assume, basic problems learning to compile and run with javac. Here is my code:
    import javax.swing.* ;
    import java.awt.* ;
    public class MyJava {
    * @param args
    public static void main(String[] args)
    // TODO Auto-generated method stub
    JFrame frame = new JFrame( "HelloJava" ) ;
    HelloComponent hello = new HelloComponent() ;
    frame.add( hello ) ;
    frame.setSize( 300, 300 ) ;
    frame.setVisible( true ) ;
    class HelloComponent extends JComponent
    public void paintComponent( Graphics g )
    g.drawString( "Hello Java it's me!", 125, 95 ) ;
    And here is the error:
    1. WARNING in HelloJava.java
    (at line 20)
    class HelloComponent extends JComponent {
    ^^^^^^^^^^^^^^
    The serializable class HelloComponent does not declare a static final serialVersionUID field of type long
    ANY HELP WOULD BE GREAT! THANKS! =)

    Every time I extend GameLoop, it gives me the warning
    serializable class X does not declare a static final serialVersionUID field of type long
    This is just a warning. You do not need to fix this because the class you are writing will never be serialized by the gaming engine. If you really want the warning to go away, add the code to your class:
    static final long serialVersionUID=0;

  • The serializable class SpacePainter does not declare a static final serial

    The serializable class SpacePainter does not declare a static final serialVersionUID field of type longWhat does this mean??? It appears as a warning in Eclipse but I have no idea what it is. It happens when I create a class the extends JFrame or JCompnent or JApplet. I finnally got it to stop with this:
    static final long serialVersionUID = 1;

    Because your eclipse is configured that way. You can probably filter the warning. You don't have to implement the serialVersionUID, but you should if you really serialize the exceptions.

  • Build.xml does not exist!

    Hi ,
    I'm doing the converter program (EJB) from J2EE1.4 Tutorial. I installed J2EE1.4 already. I copied converter programs to different directory, not the same dir like tutorial. When I type-- c:\sun\appserver\bin> asant build.xml, it shows build.xml does not exist. I copied build.xml to the same dir of converter programs.
    (1) Do I need to install ANT ??
    (2) What else I need to do?
    Thanks
    Emily

    Yes you need ANT installed to use it, but it would seem you have it installed. Make sure you are running ANT in the same directory as the build.xml file. At least, that's the way I've always done/seen it.

  • Configuration file "config\jazn.xml" does not exist

    I have just installed 10g and am trying to setup iSQL*PLUS/dba. I found directions here http://download-west.oracle.com/docs/cd/B12037_01/server.101/b12170/ch3.htm#BCEIHEJF, however, when I try to start the JAZN shell or run the command line to create the dba user, I receive this error:
    oracle.security.jazn.JAZNRuntimeException: Configuration file "config\jazn.xml"
    does not exist. Check your JAAS configuration settings.
    at oracle.security.jazn.JAZNConfig.getJAZNProperties(Unknown Source)
    at oracle.security.jazn.JAZNConfig.access$100(Unknown Source)
    at oracle.security.jazn.JAZNConfig$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jazn.JAZNConfig.getJAZNPropertiesNoCheck(Unknown Source)
    at oracle.security.jazn.JAZNConfig.<init>(Unknown Source)
    at oracle.security.jazn.JAZNConfig.initJAZNSingleton(Unknown Source)
    at oracle.security.jazn.JAZNConfig.getJAZNConfig(Unknown Source)
    at oracle.security.jazn.util.Dbg$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jazn.util.Dbg.getJAZNProperty(Unknown Source)
    at oracle.security.jazn.util.Dbg.getBoolJAZNAndSystemProperty(Unknown Source)
    at oracle.security.jazn.util.Dbg.<clinit>(Unknown Source)
    at oracle.security.jazn.JAZNConfig.fileExists(Unknown Source)
    at oracle.security.jazn.JAZNConfig.getDefaultJAZNConfigFilePath(Unknown
    Source)
    at oracle.security.jazn.JAZNConfig.access$000(Unknown Source)
    at oracle.security.jazn.JAZNConfig$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jazn.JAZNConfig.getJAZNPropertiesNoCheck(Unknown Source)
    at oracle.security.jazn.JAZNConfig.<init>(Unknown Source)
    at oracle.security.jazn.JAZNConfig.initJAZNSingleton(Unknown Source)
    at oracle.security.jazn.JAZNConfig.getJAZNConfig(Unknown Source)
    at oracle.security.jazn.tools.Admintool.refresh(Unknown Source)
    at oracle.security.jazn.tools.Admintool.init(Unknown Source)
    at oracle.security.jazn.tools.Admintool.main(Unknown Source)
    User does not exist in system.
    Has anyone run in to this and found a solution? Is there something more that I need to do? I know nothing about JAAS.

    I have the same problem. Did you resolve this problem?

  • HT4235 iPod nano 6th generation, syncing with audiobooks does not work now, had been working.  Sync test says:  No iPod touch, iPhone, or iPad found.  Connectivity test OK, no physical problems, iTunes shows the iPod.  Any clues what to do?

    iPod nano 6th generation, syncing with audiobooks does not work now, had been working.  Sync test says:  No iPod touch, iPhone, or iPad found.  Connectivity test OK, no physical problems, iTunes shows the iPod.  Any clues what to do?

    Hmm.. Thank you for the response.
    Have you tried using the iPod with another user account or computer, to help narrow down whether the problem lies with the computer, account, or the iPod itself?
    Maybe try reformatting it, using the tools provided by Windows. Instructions on how to reformat your iPod can be found in this article.
    http://www.methodshop.com/gadgets/ipodsupport/erase/index.shtml
    B-rock

  • Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work. Please help. Thanks.

    Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work. Please help. I am getting lots of spelling errors as the MacBook laptop screen is too small. Thank you so much! .

    Contentmom6 wrote:
    Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work.
    Normally, you just connect the monitor to the MacBook using a VGA adaptor that you can buy from an Apple Store.  Now try System Preferences > Displays > Detect Displays.  You should now be able to select a display mode for the monitor.  If it still doesn't work, then I'd check that everything is properly connected.  I've had problems with colours disappearing due to a faulty connection in the VGA adaptor.
    Bob

  • Package com.bea.xml does not exist

    Hello all,
    I would like to try the nice features of XMLBeans, but I am not able to import
    the package com.bea.xml in my first Java XMLBeans demo program, which I tried
    to create.
    The error message is "package com.bea.xml does not exist", even when the path
    "C:\LocalProgFiles\Bea\xkit" (where the file xbean.jar is located) is included
    in the CLASSPATH. Also the environemt variable XMLBEANDIR is set correctly to
    "C:\LocalProgFiles\Bea\xkit".
    Has anyone an idea, what is wrong?
    Thanx in advance
    Stefan

    Hey, Stefan:
    I am having the same problem as you were but I'm using Eclipse and I think I've set up the environment properly. Except I cannot, for the life of me, figure out where the Package, "com.bea.xml.stream.MXParserFactory", either resides on my computer or is located for download or is included in some other utility.
    We found an example that used the following code:
    System.setProperty("javax.xml.stream.XMLInputFactory","com.bea.xml.stream.MXParserFactory");
    So, I included that line just before I create a new instance of the XMLInputFactory, which I have included here:
    XMLInputFactory factory = XMLInputFactory.newInstance();
    When my application tries to execute this statement I get the error below. Am I supposed to have this package on my computer? I don't even have a bea directory. What am I doing wrong?
    Thank you,
    Patricia
    javax.xml.stream.FactoryConfigurationError: Provider com.bea.xml.stream.MXParserFactory not found
         at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:72)
         at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:120)
         at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
         at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136)
         at VSTEP.XMLFile.ReadInputStream(XMLFile.java:88)
         at VSTEP.XMLFile.openFile(XMLFile.java:39)
         at VSTEP.RoadmapApp.openFile(RoadmapApp.java:257)
         at VSTEP.FileChooser.<init>(FileChooser.java:44)
         at VSTEP.RMInitialDialog$ButtonHandler.actionPerformed(RMInitialDialog.java:131)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)

  • Sync z30 with PC does not transfer data to the PC

    i've installed BBlink in a PC with windows 7 and the contacts/calendar sync with outlook does not go well. It apears a message that sync is complete but no dta as been trasfered to the PC

    Try syncing only Calendar, then try Contacts.
    Or:   http://helpblog.blackberry.com/2013/02/how-to-setup-outlook-to-wirelessly-synchronize-your-contacts-...

  • Posting key 12 does not permit specification of a special G/L indicator Urg

    hi all
    i want to riverse the cross company code transaction showing follwing messages
    Posting key 12 does not permit specification of a special G/L indicator
    Posting key 22 does not permit specification of a special G/L indicator
    regards
    JK Rao

    Hi
    Please go to transaction code OB41 and for the posting keys 12 and 22 please ensure that there is a tick mark for the special G/L indicator. Then your entry can be completed.
    Let me know if it helped and do assign points if found useful.
    Check the posts in the thread tittled - "re:Cross Company Code Code Transaction Riversal urgent"
    Karthik
    Message was edited by:
            Karthik Coneru

Maybe you are looking for

  • My Macbook pro has the message on a black screen need the reboot disc then press any key to continue. Any Ideas, because I have no discs.

    My Macbook pro has the message on a black screen need the reboot disc then press any key to continue. Any Ideas, because I have no discs.I am running Lion OS

  • Formula

    import java.io.*; import java.util.*; public class EarthLeakage public static void main (String[] args) throws IOException      String data, s1;      double acceptableLeakage, totalMaxLeakage = 0;      int noOfSet = 2, setCount;      int noOfDevice =

  • Can't get tracks in correct order in playlist

    I imported a 9 disc compilation into iTunes. In the individual playlist for each disc, I clicked "track" to organize the tracks in correct numerical order. When I created a Smart Playlist for all 9 discs, the tracks are out of order for each album. H

  • Unable to find referenced  object  problem

    Hi , when i made compile for Adf BC Application Jdeveloper version ( 11.1.2.3 ) , it result compile error Error : ************ unable to find referenced object Object=************** Owner= ******************** Notes :- this application contains view

  • RENAMING THE SAPSID and DBSID

    Hi experts, I am a fresh BASIS professional and this is my recent issue. Please be patient in order to read this long post and please post your valuable feedbacks. SCENARIO: I want to rename both SAPSID and DBSID. SYSTEM PARTICULARS: OS: Windows 2003