An addtional Quota is always created while creating JMSQueue with Ant Scrip

Hi,
When I create JMSQueue on WLS using Ant script, an additional Quota is always being created for each of JMSQueue.
For example, I created a JMS Queue which is named as "CommandQueue", then an Quota will be created which is named as "CommandQueue.Quota".
Following is the script I was using.
<wlconfig url="${weblogic.url}" username="${weblogic.username}" password="${weblogic.password}">
<query domain="${weblogic.domain}" type="Server" name="${weblogic.server}" property="wls.server"/>
<create type="JMSServer" name="JMSServer">
<set attribute="Targets" value="${wls.server}"/>
<create type="JMSQueue" name="CommandQueue">
<set attribute="JNDIName" value="jms/CommandQueue"/>
<set attribute="MessagesMaximum" value="-1"/>
</create>
</create>
</wlconfig>
Is there anyone who can tell me how to solve this issue?
Thanks very much.

Repro:
1.Launch JDev 11.1.1.5.0
2.Start the instance of Integrated WLS
3.Run "doconfig" task from following script.
build.properties
weblogic.home.dir = D:/Oracle/Middleware/wlserver_10.3
weblogic.lib.dir = ${weblogic.home.dir}/server/lib
weblogic.url = t3://localhost:7101
weblogic.username = weblogic
weblogic.password = weblogic1
weblogic.domain = DefaultDomain
weblogic.server = DefaultServer
build.xml
<?xml version="1.0" encoding="UTF-8" ?>
<project default="doconfig">
<property file="deploy.properties"/>
<path id="jar.path">
<pathelement location="${weblogic.lib.dir}\weblogic.jar"/>
</path>
<echo message="Initial WLS taskdef."/>
<target name="init" description="Initialize WLS taskdef">
<taskdef name="wlserver" classname="weblogic.ant.taskdefs.management.WLServer" classpathref="jar.path"/>
<taskdef name="wlconfig" classname="weblogic.ant.taskdefs.management.WLConfig" classpathref="jar.path"/>
<taskdef name="wldeploy" classname="weblogic.ant.taskdefs.management.WLDeploy" classpathref="jar.path"/>
</target>
<echo message="Deleting existing configuration"/>
<target name="clean" depends="init" description="Delete existing configuration.">
<wlconfig url="${weblogic.url}" username="${weblogic.username}" password="${weblogic.password}" failonerror="false">
<delete Mbean="${weblogic.domain}:Name=JMSServer,Type=JMSServer"/>
<delete Mbean="${weblogic.domain}:Name=QueueFactory,Type=JMSConnectionFactory"/>
</wlconfig>
</target>
<echo message="Doconfig"/>
<target name="doconfig" depends="clean">
<!--Login-->
<wlconfig url="${weblogic.url}" username="${weblogic.username}" password="${weblogic.password}">
<query domain="${weblogic.domain}" type="Server" name="${weblogic.server}" property="wls.server"/>
<!-- When creating a new JMS server, the script uses a nested create element to create a JMS queue, which is the child of the JMS server -->
<create type="JMSServer" name="JMSServer">
<set attribute="Targets" value="${wls.server}"/>
<create type="JMSQueue" name="RequestQueue">
<set attribute="JNDIName" value="jms/RequestQueue"/>
<set attribute="MessagesMaximum" value="-1"/>
</create>
<create type="JMSQueue" name="ResponseQueue">
<set attribute="JNDIName" value="jms/ResponseQueue"/>
<set attribute="MessagesMaximum" value="-1"/>
</create>
<create type="JMSTopic" name="NotificationTopic">
<set attribute="JNDIName" value="jms/NotificationTopic"/>
<set attribute="MessagesMaximum" value="-1"/>
</create>
</create>
<!-- The script creates a new JMS connection factory using nested set elements -->
<create type="JMSConnectionFactory" name="QueueFactory">
<set attribute="JNDIName" value="jms/QueueFactory"/>
<set attribute="XAServerEnabled" value="true"/>
<set attribute="Targets" value="${wls.server}"/>
</create>
</wlconfig>
</target>
</project>
4. Login to WLS admin console
5. Home >JMS Modules >interop-jms
6. You can see following additional Quota were getting created for each of Queue/Topic which is unncessary.
NotificationTopic.Quota
RequestQueue.Quota
ResponseQueue.Quota

Similar Messages

  • RFC function module always creating BPs with the same user name (RFC user )

    Hi All
    I posted the below question in a different area before. But thought it would be more suitable here.
    Moderators - Please let me know if am doing any mistake.
    Question:
    I have a RFC function module in CRM that creates Business Partners in ECC (XD01 tcode).
    I am using a dialog RFC destination configured in SM59 in CRM.
    But my RFC function module in CRM is always creating the Business Partners in ECC with the RFC user id (the user that we maintain for the RFC destination in SM59).
    This is a problem for the users because they are not able to track the actual person responsible for creating these Business Partners.
    Can somebody please let me know how to solve this problem?
    Thanks
    Raj

    Hi.
    You may use the trust relationship between CRM and R/3 and in SM59 instead of set a specific username, you set the flag "current user".
    With this flag, the system will access R/3 system with the user logged in CRM system. The Trust relationship must be created between CRM and R/3 in order to the system doesn't ask for a password to login in R/3.
    If you need more details please reply.
    Kind regards,
    Susana Messias

  • Creating JavaDoc with ANT

    Hi, I am new to ANT and am trying to create JavaDocs through ANT. And I got the following error.
    BUILD FAILED
    /root/IzoneIDE/build.xml:31: No source files and no packages have been specified.
    My build.xml file is:
    <?xml version="1.0"?>
    <!-- build.xml - a simple ant file -->
    <project name="Simple Buildfile" default="compile" basedir=".">
         <!-- The directory containing source code -->
         <property name="src.dir" value="src"/>
         <!-- Temporary Build Directories -->
         <property name="build.dir" value="."/>
         <property name="build.classes" value="${build.dir}/classes"/>
         <property name="build.lib" value="${build.dir}/lib"/>
         <!-- Target to create the build directories prior to the -->
         <!-- compile target. -->
         <target name="prepare">
              <mkdir dir="${build.classes}"/>
              <mkdir dir="${build.lib}"/>
         </target>
         <target name="clean" description="Removes all generated files.">
              <delete dir="${build.classes}"/>
              <delete dir="${build.lib}"/>
         </target>
         <target name="compile" depends="prepare" description="Compiles all source code.">
              <javac srcdir="${src.dir}" destdir="${build.classes}"/>
         </target>
         <javadoc destdir="${build.dir}/docs" windowtitle="Izone IDE Documentation">
              <sourcepath location="${build.dir}/src"/>          
         </javadoc>
         <target name="all" depends="clean" description="Cleans, and compiles"/>
    </project>When I remove the last javadoc tag, it works fine, but doesn't work with javadoc tag. what is wrong in Java Doc tag.
    Thanks
    Raheel

    OK, Never mind, would you post your XML here.Demanding, aren't you?
    <project name="Standard Ant Build XML" default="javadocs" basedir=".">
        <target name="init-props" description="initialize properties">
            <tstamp>
                <format property="touch.time" pattern="MM/dd/yyyy hh:mm aa" />
            </tstamp>
            <filterset id="ant.filters">
                <filter token="DATE" value="${TODAY}" />
                <filter token="TIME" value="${TSTAMP}" />
            </filterset>
            <!-- Load in all the settings in the properties file -->
            <property file="build.properties" />
        </target>
        <target name="prepare" depends="init-props" description="create all the necessary directories">
            <mkdir dir="${build}"/>
            <mkdir dir="${build.classes}"/>
            <mkdir dir="${build.lib}"/>
            <mkdir dir="${build.manifest}"/>
            <mkdir dir="${build.deploy}"/>
            <mkdir dir="${build.javadocs}"/>
            <mkdir dir="${build.reports}"/>
        </target>
        <target name="clean" depends="init-props" description="clean up the output directories">
            <delete dir="${build}" />
        </target>
        <target name="set-classpath" depends="prepare" description="set the classpath">
            <path id="project.class.path">
                <pathelement path="${basedir}" />
                <pathelement path="${build.classes}" />
                <pathelement path="${src}"/>
                <fileset dir="${src.lib}">
                    <patternset>
                        <include name="**/*.jar" />
                    </patternset>
                </fileset>
            </path>
        </target>
        <target name="compile" depends="set-classpath" description="compile all java">
            <javac srcdir="${src.java}"
                   destdir="${build.classes}"
                   classpathref="project.class.path"
                   deprecation="on"
                   debug="on">
                <include name="**/*.java" />
            </javac>
        </target>
        <target name="test" depends="compile" description="run all unit tests">
            <junit>
                <jvmarg value="-Xms32m" />
                <jvmarg value="-Xmx64m" />
                <classpath>
                    <path refid="project.class.path" />
                </classpath>
                <formatter type="xml" />
                <batchtest fork="yes" todir="${build.reports}">
                    <fileset dir="${build.classes}">
                        <include name="**/*TestCase.class" />
                    </fileset>
                    <fileset dir="${build.classes}">
                        <include name="**/*TestSuite.class" />
                    </fileset>
                </batchtest>
            </junit>
        </target>
        <target name="report" depends="test" description="create HTML report for JUnit test results">
            <junitreport todir="${build.reports}">
                <fileset dir="${build.reports}">
                    <include name="TEST-*.xml"/>
                </fileset>
                <report format="frames" todir="${build.reports}"/>
            </junitreport>
        </target>
        <target name="deploy" depends="report" description="deploy the application">
            <buildnumber />
            <manifest file="${build.manifest}/manifest.mf">
                <attribute name="Implementation-Title"      value="${project}" />
                <attribute name="Built-By"                  value="${user.name}"/>
                <attribute name="Build-Date"                value="${TODAY}" />
                <attribute name="Major-Version"             value="${major}" />
                <attribute name="Minor-Version"             value="${minor}" />
                <attribute name="Build-Number"              value="${build.number}" />
            </manifest>
            <jar jarfile="${build.deploy}/${project}.jar"
                 manifest="${build.manifest}/manifest.mf">
                <fileset dir="${build.classes}" excludes="**/*TestCase*.class, **/*TestSuite*.class"/>
            </jar>
            <jar jarfile="${build.deploy}/${project}-tests.jar"
                 manifest="${build.manifest}/manifest.mf">
                <fileset dir="${build.classes}" includes="**/*TestCase*.class, **/*TestSuite*.class" />
            </jar>
            <copy todir="${build.deploy}">
                <fileset dir="${src.lib}" />
            </copy>
        </target>
        <target name="javadocs" depends="deploy" description="generate complete javadocs">
            <javadoc sourcepath="${src.java}"
                     destdir="${build.javadocs}"
                     classpathref="project.class.path"
                     Overview="${src.java}/overview.html">
                <packageset dir="${src.java}" />
            </javadoc>
        </target>
    </project>%

  • E7 always restart while making call with Bluetooth...

    Has anybody experienced a problem that you can not make calls when qwerty keyboard is in use and Bluetooth to headset is activated because phone makes every time restart while setting up the voice call. It just first indicates that "disconnecting Bluetooth" and soon after that  restarts. And when you make it again and again it does the same.
    Hopefully this is going to be corrected in next E7 SW release.

    No, contrary to this I can pick up the phone, close the keyboard and no interruption takes place. However, I purchased my phone only two weeks ago and it might have the new SW already.
    Attraction wrote:
    Has anybody experienced a problem that you can not make calls when qwerty keyboard is in use and Bluetooth to headset is activated because phone makes every time restart while setting up the voice call. It just first indicates that "disconnecting Bluetooth" and soon after that  restarts. And when you make it again and again it does the same.
    Hopefully this is going to be corrected in next E7 SW release.

  • Webi Stucks while trying to create report with BW7.0 (WIS 10901)

    Hello,
    I have some problem about using data created from BW 7.0
    1. After I try to drag more than one object to create report from webi and run the query, it got sutcked and appear error as below;
    A database error occured. The database error text is: The MDX query SELECT {  } ON COLUMNS , HIERARCHIZE( UNION(  { [0GL_ACCOUNT                   INT].[INT                             0HIER_NODE] } , { GENERATE (  { [0GL_ACCOUNT                   INT].[INT                             0HIER_NODE] }  , { Descendants( [0GL_ACCOUNT                   INT].CURRENTMEMBER, [0GL_ACCOUNT                   INT].[LEVEL01]) } ) }  ) )  DIMENSION PROPERTIES PARENT_UNIQUE_NAME ON ROWS FROM [$0ABC_C06] SAP VARIABLES [0DAT] INCLUDING 20080606 failed to execute with the error See RFC trace file or SAP system log for more details. (WIS 10901)
    this error appears when I try to..
    - create query with more than one object
    - enable drill-down for the object and click the report to drill down
    (This error appears the same in Voyager when drag objects into crosstab)
    2. problems with displaying Thai language content created from BW, after I created object, thai content always appears as "######" event I change font to "tahoma", it returns the same result.
    any expert could help me... thanks in advance
    I use BOBJ XI 3.0, SAPBW 7.0
    step:
    1. Create universe connect to BW 7.0 and export universe
    2. logon to infoview, choose universe to create report from webi
    3. drag object and test drill down
    and step for voyager
    1. create voyager connection to SAP BW 7.0 use specified username and password
    2. use voyager to create report
    3. drag object into crosstab

    Hello.
    We have solved this issue. We tested our connection with MDX Parser in transaction SM59 and that resulted in errors. Then we applied SAP note 1032461 to replace an application server dll (librfc32u.dll). After this procedure, the WebIntelligence was able to run queries with more then 2 dimensions and key-figures!
    Thanks for all.

  • Problem while Creating MVLOG with synonym in Oracle 9i:Is it an Oracle Bug?

    Hi All,
    I am facing a problem while Creating MVLOG with synonym in Oracle 9i but for 10G it is working fine. Is it an Oracle Bug? or i am missing something.
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL>
    SQL> create table t ( name varchar2(20), id varchar2(1) primary key);
    Table created.
    SQL> create materialized view log on t;
    Materialized view log created.
    SQL> create public synonym syn_t for t;
    Synonym created.
    SQL> CREATE MATERIALIZED VIEW MV_t
      2  REFRESH ON DEMAND
      3  WITH PRIMARY KEY
      4  AS
      5  SELECT name,id
      6  FROM syn_t;
    Materialized view created.
    SQL> CREATE MATERIALIZED VIEW LOG ON  MV_t
      2  WITH PRIMARY KEY
      3   (name)
      4    INCLUDING NEW VALUES;
    Materialized view log created.
    SQL> select * from v$version;
    BANNER
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    PL/SQL Release 9.2.0.6.0 - Production
    CORE    9.2.0.6.0       Production
    TNS for Solaris: Version 9.2.0.6.0 - Production
    NLSRTL Version 9.2.0.6.0 - Production
    SQL>
    SQL> create table t ( name varchar2(20), id varchar2(1) primary key);
    Table created.
    SQL> create materialized view log on t;
    Materialized view log created.
    SQL> create public synonym syn_t for t;
    Synonym created.
    SQL> CREATE MATERIALIZED VIEW MV_t
    REFRESH ON DEMAND
    WITH PRIMARY KEY
    AS
      2    3    4    5  SELECT name,id
    FROM syn_t;   6
    Materialized view created.
    SQL> CREATE MATERIALIZED VIEW LOG ON  MV_t
    WITH PRIMARY KEY
    (name)
      INCLUDING NEW VALUES;  2    3    4
    CREATE MATERIALIZED VIEW LOG ON  MV_t
    ERROR at line 1:
    ORA-12014: table 'MV_T' does not contain a primary key constraintRegards
    Message was edited by:
    Avinash Tripathi
    null

    Hi Nicloei,
    Thanks for the reply. Actually i don't want any work around (Creating MVLOG on table rather than synonym is fine with me) . I just wanted to know it is actually an oracle bug or something else.
    Regards
    Avinash

  • Oracle Coherence 3.7.1, It's  always creating a new cluster in linux m/c.

    Hi ,
    I am facing an issue with Oracle Coherence 3.7.1 in linux m/c , where it’s always creating a new cluster, even if I start a new member provided with same cluster name as argument. -Dtangosol.coherence.cluster=name
    It’s not joining the existing cluster , it’s always creating a new cluster with same name in Linux m/c.
    But when I tried the same thing in windows m/c , it working fine , even If I start N number cache server’s it joining the same cluster as one more member.
    Please someone help me, why it’s always creating a new cluster in linux m/c with same name ? why new VM’s are not joining the existing cluster? , Is there anything extra setup I need to do for Linux m/c.
    Thanks in Advance.
    <coherence>
    <cluster-config>
    <member-identity>
    <cluster-name>My_cluster</cluster-name>
    </member-identity>
    </cluster-config>
    <configurable-cache-factory-config>
    <init-params>
    <init-param>
    <param-type>java.lang.String</param-type>
    <param-value system-property="tangosol.coherence.cacheconfig">coherence-cache-config.xml</param-value>
    </init-param>
    </init-params>
    </configurable-cache-factory-config>
    </coherence>
    12-10-01 10:20:06.544/0.420 Oracle Coherence 3.7.1.0 <Info> (thread=main, member=n/a): Loaded operational configuration from "jar:file:/data/Informatica/nas/sdgshared/MyApputils/coherence/lib/coherence.jar!/tangosol-coherence.xml"
    2012-10-01 10:20:06.608/0.484 Oracle Coherence 3.7.1.0 <Info> (thread=main, member=n/a): Loaded operational overrides from "jar:file:/data/Informatica/nas/sdgshared/MyApputils/coherence/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
    2012-10-01 10:20:06.609/0.485 Oracle Coherence 3.7.1.0 <Info> (thread=main, member=n/a): Loaded operational overrides from "jar:file:/data/Informatica/nas/sdgshared/MyApputils/coherence/MyAppCache/lib/MyAppCoherenceCache.jar!/tangosol-coherence-override.xml"
    2012-10-01 10:20:06.613/0.489 Oracle Coherence 3.7.1.0 <D5> (thread=main, member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified
    Oracle Coherence Version 3.7.1.0 Build 27797
    Grid Edition: Development mode
    Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
    2012-10-01 10:20:06.831/0.707 Oracle Coherence GE 3.7.1.0 <Info> (thread=main, member=n/a): Loaded cache configuration from "file:/data/Informatica/nas/sdgshared/MyApputils/coherence/MyAppCache/config/coherence-cache-config.xml"; this document does not refer to any schema definition and has not been validated.
    2012-10-01 10:20:07.328/1.204 Oracle Coherence GE 3.7.1.0 <D4> (thread=main, member=n/a): TCMP bound to /10.176.4.105:8088 using SystemSocketProvider
    2012-10-01 10:20:10.711/4.587 Oracle Coherence GE 3.7.1.0 <Info> (thread=Cluster, member=n/a): Created a new cluster "MyCache_cluster" with Member(Id=1, Timestamp=2012-10-01 10:20:07.397, Address=10.176.4.105:8088, MachineId=44371, Location=site:,machine:ctrel9014-12,process:19922, Role=CoherenceServer, Edition=Grid Edition, Mode=Development, CpuCount=16, SocketCount=4) UID=0x0AB004690000013A1CE9ADE5AD531F98
    2012-10-01 10:20:10.713/4.589 Oracle Coherence GE 3.7.1.0 <Info> (thread=main, member=n/a): Started cluster Name=MyCache_cluster
    Group{Address=224.3.7.0, Port=37000, TTL=4}
    MasterMemberSet(
    ThisMember=Member(Id=1, Timestamp=2012-10-01 10:20:07.397, Address=10.176.4.105:8088, MachineId=44371, Location=site:,machine:ctrel9014-12,process:19922, Role=CoherenceServer)
    OldestMember=Member(Id=1, Timestamp=2012-10-01 10:20:07.397, Address=10.176.4.105:8088, MachineId=44371, Location=site:,machine:ctrel9014-12,process:19922, Role=CoherenceServer)
    ActualMemberSet=MemberSet(Size=1
    Member(Id=1, Timestamp=2012-10-01 10:20:07.397, Address=10.176.4.105:8088, MachineId=44371, Location=site:,machine:ctrel9014-12,process:19922, Role=CoherenceServer)
    MemberId|ServiceVersion|ServiceJoined|MemberState
    1|3.7.1|2012-10-01 10:20:10.711|JOINED
    RecycleMillis=1200000
    RecycleSet=MemberSet(Size=0
    TcpRing{Connections=[]}
    IpMonitor{AddressListSize=0}
    2012-10-01 10:20:10.736/4.612 Oracle Coherence GE 3.7.1.0 <D5> (thread=Invocation:Management, member=1): Service Management joined the cluster with senior service member 1
    2012-10-01 10:20:10.918/4.794 Oracle Coherence GE 3.7.1.0 <D5> (thread=DistributedCache:HBaseMyCache, member=1): Service HBaseMyCache joined the cluster with senior service member 1
    2012-10-01 10:20:10.942/4.818 Oracle Coherence GE 3.7.1.0 <Info> (thread=main, member=1):
    Edited by: user10092089 on Oct 2, 2012 8:35 AM

    Hi,
    For unicast, you need to define the override file as under:
    <?xml version='1.0'?>
    <coherence>
         <cluster-config>
              <member-identity>
                   <cluster-name system-property="tangosol.coherence.cluster">LPACache_cluster</cluster-name>
              </member-identity>
              <unicast-listener>
                  <well-known-addresses>
                   <socket-address id="1">
                       <address system-property="tangosol.coherence.wka1">coherence-node1-ip</address>
                       <port system-property="tangosol.coherence.wka1.port"> coherence-node1-port</port>
                   </socket-address>
                   <socket-address id="2">
                       <address system-property="tangosol.coherence.wka2"> coherence-node2-ip </address>
                       <port system-property="tangosol.coherence.wka2.port"> coherence-node2-port</port>
                   </socket-address>
                  </well-known-addresses>
              <port-auto-adjust system-property="tangosol.coherence.localport.adjust">false</port-auto-adjust>
              </unicast-listener>
         </cluster-config>
         <configurable-cache-factory-config>
               <class-name>com.tangosol.net.DefaultConfigurableCacheFactory</class-name>
               <init-params>
                  <init-param>
                      <param-type>java.lang.String</param-type>
                      <param-value system-property="tangosol.coherence.cacheconfig">coherence-cache-config.xml</param-value>
                  </init-param>
              </init-params>
        </configurable-cache-factory-config>   
        <logging-config>
               <severity-level system-property="tangosol.coherence.log.level">5</severity-level>
               <character-limit system-property="tangosol.coherence.log.limit">0</character-limit>
        </logging-config>
    </coherence>Use the property -Dtangosol.coherence.localhost=coherence-node1-ip and -Dtangosol.coherence.localport=coherence-node1-port for coherence server1 and -Dtangosol.coherence.localhost=coherence-node2-ip and -Dtangosol.coherence.localport=coherence-node2-port for Coherence server 2. Once you start the servers with these changes, you should not see the below message:
    Group{Address=224.3.7.0, Port=37000, TTL=4}
    HTH
    Cheers,
    _NJ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Check while creating PR with account assignment K

    Hi Gurus,
    Can I put a check while creating PRs for account assignment category K, that only statistical order number range is allowed.
    In other words, user should not be allowed to put any internal order other than statistical order in PR, while creating it with account assignment category K..
    Thanks in Advance,
    Vikash

    Hi,
    You can check on business transaction RMBA - it's the purchase requisition. Set it to prerequisites and for the validation select the order type (it's better than a number range - I believe you use different order types for real/statistical I/O) from AUFK (you will see this structure as available, when creating a validation). If you do use the same order type, then check on I/O itself COBL-AUFNR.
    Regards,
    Eli

  • Bridge Image Processor always creates JPEG or TIFF folder, how do I change that behavior?

    I have searched the web, Bridge forums, and Photoshop forums, and come up empty-handed. (The strange thing is, I know there used to be a post that answered this question a few years ago.) Anyway, I use Image Processor quite a bit, and it works great except for the annoying behavior of always creating a new folder to store the newly-created images.
    I remember the solution is to change some line in a (XML?) file from "JPEG" to "". For the life of me, I can't find which file that is! I think it used to located down inside Application Support. I think.
    Thanks for help on this, it's driving me crazy!
    Jeff

    Thanks for replying! I'm running CS 5.1. Oh, now I see...I've never run Image Processor from within Photoshop, just from Bridge. You're right, it does offer different options than Bridge.
    Anyway, I found it what I was looking for.
    Open up (don't run!) the Image Processor.jsx file. I opened it up in ExtendScript Toolkit. The path is /Applications/Adobe Photoshop CS5.1/Presets/Scripts/Image Processor.jsx
    I'm on line 1574 (in other versions, the line number may vary)
    This is what the line says:
    var subFolderText = inFolderLocation + "/JPEG/";
    Change to:
    var subFolderText = inFolderLocation + "//";
    Problem solved. Repeat as necessary for other folders you don't want created (TIFF, PSD)
    Back to work!

  • StoreEvents always creating new event?

    Hey all,
    Our university recently upgraded to the newest version of the calendar server and so I've been going back to some old code I wrote that should now function correctly. However, I'm having an issue. The part of my program I'm currently dealing with fetches all the unconfirmed appointments from a user's oracle calendar and then asks the user if they would like to accept/decline/ignore those events. It then writes the events back to the server accordingly. However, despite my best efforts, a new appointment is always created rather than the old one being updated to reflect the new participation status.
    Here is an example of an event received from the server:
    BEGIN:VCALENDAR
    VERSION:2.0
    PRODID:-//ORACLE//NONSGML CSDK 9.0.4.2//EN
    BEGIN:VEVENT
    X-ORACLE-IMEETING-SENDEMAILNOTIFICATION:TRUE
    X-ORACLE-EVENTINSTANCE-GUID:I1+611984+101+1+445722372
    X-ORACLE-EVENT-GUID:E1+611984+101+445722372
    X-ORACLE-EVENTTYPE:APPOINTMENT
    UID:20050214T194612Z-95690-65-589f-Oracle
    TRANSP:OPAQUE
    SUMMARY:Unconfirmed Number 1
    STATUS:CONFIRMED
    SEQUENCE:0
    PRIORITY:5
    ORGANIZER;CN=Derek Miller:mailto:[email protected]
    DTSTART:20050214T170000Z
    DTSTAMP:20050221T192636Z
    DTEND:20050214T173000Z
    CREATED:20050214T194612Z
    CLASS:PUBLIC
    ATTENDEE;CUTYPE=INDIVIDUAL;RSVP=FALSE;CN=Derek Miller;PARTSTAT=NEEDS-ACTIO
    N:mailto:[email protected]
    END:VEVENT
    END:VCALENDAR
    And here is what I send back to the server:
    Content-Class: urn:content-classes:calendarmessage
    Content-Type:text/calendar;
    method=REQUEST;
    charset="utf-8"
    Content-Transfer-Encoding: 7bit
    BEGIN:VCALENDAR
    VERSION:2.0
    PRODID:-//ORACLE//NONSGML CSDK 9.0.4.2//EN
    BEGIN:VEVENT
    X-ORACLE-IMEETING-SENDEMAILNOTIFICATION:TRUE
    X-ORACLE-EVENTINSTANCE-GUID:I1+611984+101+1+445722372
    X-ORACLE-EVENT-GUID:E1+611984+101+445722372
    X-ORACLE-EVENTTYPE:APPOINTMENT
    UID:20050214T194612Z-95690-65-589f-Oracle
    TRANSP:OPAQUE
    SUMMARY:Unconfirmed Number 1
    STATUS:CONFIRMED
    SEQUENCE:0
    PRIORITY:5
    ORGANIZER;CN=Derek Miller:mailto:[email protected]
    DTSTART:20050214T170000Z
    DTSTAMP:20050221T192636Z
    DTEND:20050214T173000Z
    CREATED:20050214T194612Z
    CLASS:PUBLIC
    ATTENDEE;CUTYPE=INDIVIDUAL;RSVP=FALSE;CN=Derek Miller;PARTSTAT=ACCEPTED:mailto:[email protected]
    END:VEVENT
    END:VCALENDAR
    The only thing that I see that could be different is that when I fetch the event from the server, there are some strange line breaks in the attendee property which somehow magically disappear in my processing of the string (my function only swaps the NEEDS-ACTION with ACCEPTED so I don't know how those other line breaks go away). But the fact that a new event is created and all the properties are set correctly, I have my doubts as to this being the cause.
    Also, I have tried both the CAPI_FLAG_STORE_MODPROPS and CSDK_FLAG_STORE_MODIFY flags but neither seem to change what happens.
    Anyone see any obvious mistakes that I'm making?
    Thanks in advance!

    Glad to be of help! I wouldn't have known either except for a forum thread a few pages back titled "jni source code available" (or something like that) where one of the replies stated that the CSDK and CAPI handled the UIDs differently. Then I compiled the C example and noticed the UIDs looked very different from the ones I was getting from the Java SDK. Then I used your original post to help figure out what I needed to send back to the server (other than the UID) to get my code to work... so we kind of helped each other! Thanks!
    --Ron D.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Problem while creating xml with cdata section

    Hi,
    I am facing problem while creating xml with cdata section in it. I am using Oracle 10.1.0.4.0 I am writing a stored procedure which accepts a set of input parameters and creates a xml document from them. The code snippet is as follows:
    select xmlelement("DOCUMENTS",
    xmlagg
    (xmlelement
    ("DOCUMENT",
    xmlforest
    (m.document_name_txt as "DOCUMENT_NAME_TXT",
    m.document_type_cd as "DOCUMENT_TYPE_CD",
    '<![cdata[' || m.document_clob_data || ']]>' as "DOCUMENT_CLOB_DATA"
    ) from table(cast(msg_clob_data_arr as DOCUMENT_CLOB_TBL))m;
    msg_clob_data_arr is an input parameter to procedure and DOCUMENT_CLOB_TBL is a pl/sql table of an object containing 3 attributes: first 2 being varchar2 and the 3rd one as CLOB. The xml document this query is generating is as follows:
    <DOCUMENTS>
    <DOCUMENT>
    <DOCUMENT_NAME_TXT>TestName</DOCUMENT_NAME_TXT>
    <DOCUMENT_TYPE_CD>BLOB</DOCUMENT_TYPE_CD>
    <DOCUMENT_CLOB_DATA>
    &lt;![cdata[123456789012345678901234567890123456789012]]&gt;
    </DOCUMENT_CLOB_DATA>
    </DOCUMENT>
    </DOCUMENTS>
    The problem is instead of <![cdata[....]]> xmlforest query is encoding everything to give &lt; for cdata tag. How can I overcome this? Please help.

    SQL> create or replace function XMLCDATA_10103 (elementName varchar2,
      2                                             cdataValue varchar2)
      3  return xmltype deterministic
      4  as
      5  begin
      6     return xmltype('<' || elementName || '><![CDATA[' || cdataValue || ']]>
      7  end;
      8  /
    Function created.
    SQL>  select xmlelement
      2         (
      3            "Row",
      4            xmlcdata_10103('Junk','&<>!%$#&%*&$'),
      5            xmlcdata_10103('Name',ENAME),
      6            xmlelement("EMPID", EMPNO)
      7         ).extract('/*')
      8* from emp
    SQL> /
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[SMITH]]></Name>
      <EMPID>7369</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[ALLEN]]></Name>
      <EMPID>7499</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[WARD]]></Name>
      <EMPID>7521</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[JONES]]></Name>
      <EMPID>7566</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[MARTIN]]></Name>
      <EMPID>7654</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[BLAKE]]></Name>
      <EMPID>7698</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[CLARK]]></Name>
      <EMPID>7782</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[SCOTT]]></Name>
      <EMPID>7788</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[KING]]></Name>
      <EMPID>7839</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[TURNER]]></Name>
      <EMPID>7844</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[ADAMS]]></Name>
      <EMPID>7876</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[JAMES]]></Name>
      <EMPID>7900</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[FORD]]></Name>
      <EMPID>7902</EMPID>
    </Row>
    <Row>
      <Junk><![CDATA[&<>!%$#&%*&$]]></Junk>
      <Name><![CDATA[MILLER]]></Name>
      <EMPID>7934</EMPID>
    </Row>
    14 rows selected.
    SQL>

  • System is giving ABAP run time error while perform LT06 or create TO with r

    Hi SAP WM Gurus,
    System is giving ABAP run time error while perform LT06 or create TO with respect to posting change notice, below are runtime analysis details.
    Short dump has not been completely stored. It is too big.
    P_MENGA = P_MENGE.
    007940       P_UMREZ = 1.
    007950       P_UMREN = 1.
    Can you give any idea on this issue.
    Thanks and Regards,
    SHARAN.

    Hi,
    Go to Tcode ST22 and mentione the dump code there and check.
    Also take help[ of Abapers to fix it.
    Thanks
    Utsav

  • ABAP run time error while perform LT06 or create TO with respect to posting

    Hi SAP WM Gurus,
    System is giving ABAP run time error while perform LT06 or create TO with respect to posting change notice, below are runtime analysis details.
    >> Short dump has not been completely stored. It is too big.
    >       P_MENGA = P_MENGE.
    007940       P_UMREZ = 1.
    007950       P_UMREN = 1.
    Can you give any idea on this issue.
    Thanks and Regards,
    SHARAN.

    This part is just the place in the program where the error occured, but why the error occured is mentioned earlier in the dump.
    Maybe you have a too big number in the field and hence a field overflow, maybe you have a character instead of a number in the field.
    Read the dump from the beginning. if you dont know how to read a dump,then try to get help from any local Abaper.

  • Net_PRICE problem while creating PO with BAPI_PO_CREATE1 ***ASAP

    Dear All,
    While creating PO with bapi BAPI_PO_CREATE1, The net price is not populating, though the logic is correct, as when i change the net price to some otrher value of in the bapi, while debugging, it is taking the Net price, but in general run, the price is over written by Gross price in PO, Please Help, Its Urgent.
    Any Sample codes are welcomed, where Net_price is used.
    Thanks in Advance..
    Rewards Guaranteed.

    Dear All,
    While creating PO with bapi BAPI_PO_CREATE1, The net price is not populating, though the logic is correct, as when i change the net price to some otrher value of in the bapi, while debugging, it is taking the Net price, but in general run, the price is over written by Gross price in PO, Please Help, Its Urgent.
    Any Sample codes are welcomed, where Net_price is used.
    Thanks in Advance..
    Rewards Guaranteed.

  • When I try to simply add a few photos (from Events) into a newly created Album, it always creates a Folder for the photos to go into. I don't need a Folder.  I just need the photos to go into the Album.  What am I doing wrong?

    When I try to simply add a few photos (from Events) into a newly created Album, it always creates a new Folder - a sub folder to the new Album I just created -  for the photos to go into. I don't need a Folder!  I just need the photos to add into the Album.  What am I doing wrong?

    Sometimes it takes a precise drop to get it into the album.  Make sure you see the album highlighted before releasing the mouse:
    OT

Maybe you are looking for

  • Adobe Acrobat Proffessional 6 incompatebility with Windows Vista

    hello everyone. I have a problem with Adobe Acrobat Professional 6 which is incompatible with Windows Vista. i tried all the updates provided by Adobe, but they don;t have any update to address this issue. so can anyone tell me how to solve this prob

  • Select printer in JasperReport

    Hallo. I've to print a JasperReport document in a printer that isn't the default printer and i can't open any window... How can i do? Sorry for the english, but i'm italian and don't speek english very well...

  • Save for Web & Devices, The operation could not be completed

    I keep getting this error when I Save for Web & Devices: The operation could not be completed. I have saved for the web before for many more complex, larger images without a hitch. I am using a psd format with an image that I designed. It is no more

  • Scheduled view in Reminders app not working

    I have no problem with syncing my ios reminders and mac reminders via icloud. however, when i go to the "scheduled" tab in the ios app, nothing appears.  even though I have items scheduled for today they do not show up there.  Plus, the app freezes u

  • Local repository installation

    I have read all the wiki articles and also found this post: http://bbs.archlinux.org/viewtopic.php?id=30431 For some reason I cannot install form the local repository in /va/cache/pacman/pkg for the life of me! Every time I try and install something,