REG: 1% SECESS IN RG23 A PARTII REGISTER
HI ,
BEFORE PATCHES WE ARE NOT GETTING SECESS(1%) IN MIGO AS WELL AS IN RG23A PART II.
AFTER PATCHES WE ARE GETTING 1% ECESS VALUE IN MIGO BUT IT IS NOT DISPLAYING IN RG23A PARTII.
AND OTHER COLUMNS AS PER MENTION BELOW ARE NOT DIAPLAYING IN STANDARD SAP SCRIPT FORM(RG23A PARTII).
AFTER 7B COLUMN WE REQUIRED 3 COLUMNS, 7C-SER *TAX, 7D-ECESS, 7E-SECESSS
*AFTER 8A WE REQUIRED 2 COLUMN- 8B-ECESS, 8C-EDCESS(SAH)
RIGHT ANSWER WILL BE AWARDED.
Hi,
Check whether SAP Note 1045888 is applied or not?
If not then apply and check.
Similar Messages
-
RG23A PARTI & PARTII register & tab is not updating in MIGO by 103 105 mvt
Hi Experts,
I am doing MIGO by 103 & 105 movements. My problem is RG23A PARTI & PARTII register is not updating & also in Detail DATA (below the header details tab) Excise ITEM tab is also not coming.
I have done the configuration like LOG GEN->Tax on Goods Movements ->under business transcations->Incoming excise details->specify movement types involve in excise invoices.
Actually, after doing MIGO PARTI is updated in table J_1IPART1 but no values updated for J_1IPART2.
Can anybody help me?
Thanks
TruptiHello
as per you part1 values updationg while doing the time of migo and part2 values not updating while doing the j1iex post .
your not getting the excise tab on details so check the tax code mentioned in po assigned the co code or not ?
if your using the TAXINN procedure check the condition records in fv12.
check the j1id settings for material and vendor.
Regards
Laxman -
RG! and RG23 A PArtII Updating
1. I am able to get the excel view of the RG1 and RG23A PArtII as well. But I notice that in the RG1 register while the qty manufactured is displayed correctly, the opening balance is not getting displayed and so is the closing balance in every line item.
2. In the RG 23A Part II, while the incoming invoice quantities and their cenvat credits are displaying correctly, but the credit utilised is not getting displayed.
Can anyone tell me what I am missing here?
regds
JudeI have already done that. Paking indicator has also been maintained in the J_1IRG1 as well. I have executed the note as well. Its not that the values are not flowing. It is
for instance
Opening Balance Quantity Manufactured TOTAL REMOVALS
Quantity Value
0 100 0 0 0
0 100 0 0 0
0 100 0 0 0
0 0 0 10 0
0 0 0 10 0
If you see above the opening balance in the second line item should be 100 and third should be 200...
Also the removals qty are reflected ut not value. Pls explain. The problem kin the closing balances is of the same type.
regds
Jude
Edited by: jude xavier on Jun 4, 2008 2:51 PM
Edited by: jude xavier on Jun 4, 2008 2:56 PM -
Available balance in excise register
Hi All
I have captured and posted excise at the time of MIGO and Biling document.My PartII register is also showing entries against MIGO captured excise duty.
I have posted FI JV for fund transfer to PLA on hold and then from J1iH transfered the same to PLA account as well.
Now when I do monthly utilization J2iun, it is showing zero available balance against RG23A and RG23C and no PLA is showing here for utilization. And only billing invoices are coming for adjustment.
Can someone suggest what is wrong here.
Regards
MuktaHi Kishore
GL account assignment exist for UTLZ for all the below RG23A and RG23C .
RG23A BED
GL A/c for RG23A BED
RG23A SED
RG23C BED
RG23C AED
RG23C SED
Offset
Mod.Clear
GL A/c for PLA BED
GL A/c for PLA AED
GL A/c for PLA SED
GL A/c for PLA CESS
CENVAT OH
CENVAT sse
PLA On Hld
Reversal
GL account assignment not maintained for the below--
G/L RG23AN
G/L RG23CN
G/L PLANCC
G/L RG23AE
G/L RG23CE
G/L PLAECS
G/L 23AAT1
G/L 23CAT1
GL A/c for PLA AT1
RG23AT2
RG23CAT2
G/L Acc for PLA AT2
RG23AAT3
RG23CAT3
G/L Acc for PLA AT3
Will this impact monthly utilization, or this is only for fortnightly utilization and any separate settings for monthly utilization?
Also we have already extracted PLA after doing j1ih and the balance is coming in PLA Register when we see in J2i6.
Regards
Mukta -
SIP phone registering on SIP trunk
Hi,
i have a UC 500 connected to our phone provider using a SIP trunk.
All the phones are SPA508 G
All is working fine !
Then, some days ago i added a SIP phone (extention 350) on the UC500, that also worked fine, and then after some minutes all our incoming/outgoing calls were blocked.
I called my provider that told me that our IP was banned because they have seen to much registration attempt from a bad user that was "350"
I can confirm with a "sh sip-ua register status" command that i had two sip registration : my SIP trunk and the SIP phone
Then it seems that the UC 500 is trying to register the SIP phone on the SIP trunk ?
What am i doing wrong ?
Is there a command to avoid that ?
Bellow is how the SIP phone and the SIP trunk are configured
Many thanks for your help, i was unable to find anything about that, but i guess somebody already had this problem !
The SIP phone -------------------------------------------------------------------------
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
supplementary-service h450.12
fax protocol none
modem passthrough nse codec g711ulaw
sip
registrar server expires max 3600 min 120
no update-callerid
voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g729r8
voice register global
mode cme
source-address 10.1.1.1 port 5060
max-dn 20
max-pool 20
load 9971 sip9971.9-2-2
load 9951 sip9951.9-2-2
load 8961 sip8961.9-2-2
load 7971 term71.default
authenticate register
authenticate realm xxxxxx.com
timezone 13
hold-alert
mwi stutter
mwi reg-e164
create profile sync 0636240803635305
voice register dn 1
number 350
name Conference
label Conference
voice register pool 1
id mac 1234.1234.1234
number 1 dn 1
username 350 password 1234
codec g711ulaw
The SIP trunk ----------------------------------------------------------------------
sip-ua
credentials username user1234 password 1234 realm sipgw9.provider.com
authentication username user1234 password 1234 no remote-party-id
retry invite 2
retry register 10
timers connect 100
registrar dns:sipgw9.provider.com expires 3600
sip-server dns:sipgw9.provider.comI'm still searching on the forum, and maybe i found somthing related to my problem, not sure... any advice ?
Disable outbound proxy on voice register global as by default it will use the outbound proxy configured on the system which would not make sense
voice register global
no outbound-proxy
found there : https://supportforums.cisco.com/discussion/10760741/uc500-sip-server-and-sip-trunk -
Some Thoughts On An OWB Performance/Testing Framework
Hi all,
I've been giving some thought recently to how we could build a performance tuning and testing framework around Oracle Warehouse Builder. Specifically, I'm looking at was in which we can use some of the performance tuning techniques described in Cary Millsap/Jeff Holt's book "Optimizing Oracle Performance" to profile and performance tune mappings and process flows, and to use some of the ideas put forward in Kent Graziano's Agile Methods in Data Warehousing paper http://www.rmoug.org/td2005pres/graziano.zip and Steven Feuernstein's utPLSQL project http://utplsql.sourceforge.net/ to provide an agile/test-driven way of developing mappings, process flows and modules. The aim of this is to ensure that the mappings we put together are as efficient as possible, work individually and together as expected, and are quick to develop and test.
At the moment, most people's experience of performance tuning OWB mappings is firstly to see if it runs set-based rather than row-based, then perhaps to extract the main SQL statement and run an explain plan on it, then check to make sure indexes etc are being used ok. This involves a lot of manual work, doesn't factor in the data available from the wait interface, doesn't store the execution plans anywhere, and doesn't really scale out to encompass entire batches of mapping (process flows).
For some background reading on Cary Millsap/Jeff Holt's approach to profiling and performance tuning, take a look at http://www.rittman.net/archives/000961.html and http://www.rittman.net/work_stuff/extended_sql_trace_and_tkprof.htm. Basically, this approach traces the SQL that is generated by a batch file (read: mapping) and generates a file that can be later used to replay the SQL commands used, the explain plans that relate to the SQL, details on what wait events occurred during execution, and provides at the end a profile listing that tells you where the majority of your time went during the batch. It's currently the "preferred" way of tuning applications as it focuses all the tuning effort on precisely the issues that are slowing your mappings down, rather than database-wide issues that might not be relevant to your mapping.
For some background information on agile methods, take a look at Kent Graziano's paper, this one on test-driven development http://c2.com/cgi/wiki?TestDrivenDevelopment , this one http://martinfowler.com/articles/evodb.html on agile database development, and the sourceforge project for utPLSQL http://utplsql.sourceforge.net/. What this is all about is having a development methodology that builds in quality but is flexible and responsive to changes in customer requirements. The benefit of using utPLSQL (or any unit testing framework) is that you can automatically check your altered mappings to see that they still return logically correct data, meaning that you can make changes to your data model and mappings whilst still being sure that it'll still compile and run.
Observations On The Current State of OWB Performance Tuning & Testing
At present, when you build OWB mappings, there is no way (within the OWB GUI) to determine how "efficient" the mapping is. Often, when building the mapping against development data, the mapping executes quickly and yet when run against the full dataset, problems then occur. The mapping is built "in isolation" from its effect on the database and there is no handy tool for determining how efficient the SQL is.
OWB doesn't come with any methodology or testing framework, and so apart from checking that the mapping has run, and that the number of rows inserted/updated/deleted looks correct, there is nothing really to tell you whether there are any "logical" errors. Also, there is no OWB methodology for integration testing, unit testing, or any other sort of testing, and we need to put one in place. Note - OWB does come with auditing, error reporting and so on, but there's no framework for guiding the user through a regime of unit testing, integration testing, system testing and so on, which I would imagine more complete developer GUIs come with. Certainly there's no built in ability to use testing frameworks such as utPLSQL, or a part of the application that let's you record whether a mapping has been tested, and changes the test status of mappings when you make changes to ones that they are dependent on.
OWB is effectively a code generator, and this code runs against the Oracle database just like any other SQL or PL/SQL code. There is a whole world of information and techniques out there for tuning SQL and PL/SQL, and one particular methodology that we quite like is the Cary Millsap/Jeff Holt "Extended SQL Trace" approach that uses Oracle diagnostic events to find out exactly what went on during the running of a batch of SQL commands. We've been pretty successful using this approach to tune customer applications and batch jobs, and we'd like to use this, together with the "Method R" performance profiling methodology detailed in the book "Optimising Oracle Performance", as a way of tuning our generated mapping code.
Whilst we want to build performance and quality into our code, we also don't want to overburden developers with an unwieldy development approach, because what we'll know will happen is that after a short amount of time, it won't get used. Given that we want this framework to be used for all mappings, it's got to be easy to use, cause minimal overhead, and have results that are easy to interpret. If at all possible, we'd like to use some of the ideas from agile methodologies such as eXtreme Programming, SCRUM and so on to build in quality but minimise paperwork.
We also recognise that there are quite a few settings that can be changed at a session and instance level, that can have an effect on the performance of a mapping. Some of these include initialisation parameters that can change the amount of memory assigned to the instance and the amount of memory subsequently assigned to caches, sort areas and the like, preferences that can be set so that indexes are preferred over table scans, and other such "tweaks" to the Oracle instance we're working with. For reference, the version of Oracle we're going to use to both run our code and store our data is Oracle 10g 10.1.0.3 Enterprise Edition, running on Sun Solaris 64-bit.
Some initial thoughts on how this could be accomplished
- Put in place some method for automatically / easily generating explain plans for OWB mappings (issue - this is only relevant for mappings that are set based, and what about pre- and post- mapping triggers)
- Put in place a method for starting and stopping an event 10046 extended SQL trace for a mapping
- Put in place a way of detecting whether the explain plan / cost / timing for a mapping changes significantly
- Put in place a way of tracing a collection of mappings, i.e. a process flow
- The way of enabling tracing should either be built in by default, or easily added by the OWB developer. Ideally it should be simple to switch it on or off (perhaps levels of event 10046 tracing?)
- Perhaps store trace results in a repository? reporting? exception reporting?
at an instance level, come up with some stock recommendations for instance settings
- identify the set of instance and session settings that are relevant for ETL jobs, and determine what effect changing them has on the ETL job
- put in place a regime that records key instance indicators (STATSPACK / ASH) and allows reports to be run / exceptions to be reported
- Incorporate any existing "performance best practices" for OWB development
- define a lightweight regime for unit testing (as per agile methodologies) and a way of automating it (utPLSQL?) and of recording the results so we can check the status of dependent mappings easily
other ideas around testing?
Suggested Approach
- For mapping tracing and generation of explain plans, a pre- and post-mapping trigger that turns extended SQL trace on and off, places the trace file in a predetermined spot, formats the trace file and dumps the output to repository tables.
- For process flows, something that does the same at the start and end of the process. Issue - how might this conflict with mapping level tracing controls?
- Within the mapping/process flow tracing repository, store the values of historic executions, have an exception report that tells you when a mapping execution time varies by a certain amount
- get the standard set of preferred initialisation parameters for a DW, use these as the start point for the stock recommendations. Identify which ones have an effect on an ETL job.
- identify the standard steps Oracle recommends for getting the best performance out of OWB (workstation RAM etc) - see OWB Performance Tips http://www.rittman.net/archives/001031.html and Optimizing Oracle Warehouse Builder Performance http://www.oracle.com/technology/products/warehouse/pdf/OWBPerformanceWP.pdf
- Investigate what additional tuning options and advisers are available with 10g
- Investigate the effect of system statistics & come up with recommendations.
Further reading / resources:
- Diagnosing Performance Problems Using Extended Trace" Cary Millsap
http://otn.oracle.com/oramag/oracle/04-jan/o14tech_perf.html
- "Performance Tuning With STATSPACK" Connie Dialeris and Graham Wood
http://www.oracle.com/oramag/oracle/00-sep/index.html?o50tun.html
- "Performance Tuning with Statspack, Part II" Connie Dialeris and Graham Wood
http://otn.oracle.com/deploy/performance/pdf/statspack_tuning_otn_new.pdf
- "Analyzing a Statspack Report: A Guide to the Detail Pages" Connie Dialeris and Graham Wood
http://www.oracle.com/oramag/oracle/00-nov/index.html?o60tun_ol.html
- "Why Isn't Oracle Using My Index?!" Jonathan Lewis
http://www.dbazine.com/jlewis12.shtml
- "Performance Tuning Enhancements in Oracle Database 10g" Oracle-Base.com
http://www.oracle-base.com/articles/10g/PerformanceTuningEnhancements10g.php
- Introduction to Method R and Hotsos Profiler (Cary Millsap, free reg. required)
http://www.hotsos.com/downloads/registered/00000029.pdf
- Exploring the Oracle Database 10g Wait Interface (Robin Schumacher)
http://otn.oracle.com/pub/articles/schumacher_10gwait.html
- Article referencing an OWB forum posting
http://www.rittman.net/archives/001031.html
- How do I inspect error logs in Warehouse Builder? - OWB Exchange tip
http://www.oracle.com/technology/products/warehouse/pdf/Cases/case10.pdf
- What is the fastest way to load data from files? - OWB exchange tip
http://www.oracle.com/technology/products/warehouse/pdf/Cases/case1.pdf
- Optimizing Oracle Warehouse Builder Performance - Oracle White Paper
http://www.oracle.com/technology/products/warehouse/pdf/OWBPerformanceWP.pdf
- OWB Advanced ETL topics - including sections on operating modes, partition exchange loading
http://www.oracle.com/technology/products/warehouse/selfserv_edu/advanced_ETL.html
- Niall Litchfield's Simple Profiler (a creative commons-licensed trace file profiler, based on Oracle Trace Analyzer, that displays the response time profile through HTMLDB. Perhaps could be used as the basis for the repository/reporting part of the project)
http://www.niall.litchfield.dial.pipex.com/SimpleProfiler/SimpleProfiler.html
- Welcome to the utPLSQL Project - a PL/SQL unit testing framework by Steven Feuernstein. Could be useful for automating the process of unit testing mappings.
http://utplsql.sourceforge.net/
Relevant postings from the OTN OWB Forum
- Bulk Insert - Configuration Settings in OWB
http://forums.oracle.com/forums/thread.jsp?forum=57&thread=291269&tstart=30&trange=15
- Default Performance Parameters
http://forums.oracle.com/forums/thread.jsp?forum=57&thread=213265&message=588419&q=706572666f726d616e6365#588419
- Performance Improvements
http://forums.oracle.com/forums/thread.jsp?forum=57&thread=270350&message=820365&q=706572666f726d616e6365#820365
- Map Operator performance
http://forums.oracle.com/forums/thread.jsp?forum=57&thread=238184&message=681817&q=706572666f726d616e6365#681817
- Performance of mapping with FILTER
http://forums.oracle.com/forums/thread.jsp?forum=57&thread=273221&message=830732&q=706572666f726d616e6365#830732
- Poor mapping performance
http://forums.oracle.com/forums/thread.jsp?forum=57&thread=275059&message=838812&q=706572666f726d616e6365#838812
- Optimizing Mapping Performance With OWB
http://forums.oracle.com/forums/thread.jsp?forum=57&thread=269552&message=815295&q=706572666f726d616e6365#815295
- Performance of mapping with FILTER
http://forums.oracle.com/forums/thread.jsp?forum=57&thread=273221&message=830732&q=706572666f726d616e6365#830732
- Performance of the OWB-Repository
http://forums.oracle.com/forums/thread.jsp?forum=57&thread=66271&message=66271&q=706572666f726d616e6365#66271
- One large JOIN or many small ones?
http://forums.oracle.com/forums/thread.jsp?forum=57&thread=202784&message=553503&q=706572666f726d616e6365#553503
- NATIVE PL SQL with OWB9i
http://forums.oracle.com/forums/thread.jsp?forum=57&thread=270273&message=818390&q=706572666f726d616e6365#818390
Next Steps
Although this is something that I'll be progressing with anyway, I'd appreciate any comment from existing OWB users as to how they currently perform performance tuning and testing. Whilst these are perhaps two distinct subject areas, they can be thought of as the core of an "OWB Best Practices" framework and I'd be prepared to write the results up as a freely downloadable whitepaper. With this in mind, does anyone have an existing best practices for tuning or testing, have they tried using SQL trace and TKPROF to profile mappings and process flows, or have you used a unit testing framework such as utPLSQL to automatically test the set of mappings that make up your project?
Any feedback, add it to this forum posting or send directly through to me at [email protected]. I'll report back on a proposed approach in due course.Hi Mark,
interesting post, but I think you may be focusing on the trees, and losing sight of the forest.
Coincidentally, I've been giving quite a lot of thought lately to some aspects of your post. They relate to some new stuff I'm doing. Maybe I'll be able to answer in more detail later, but I do have a few preliminary thoughts.
1. 'How efficient is the generated code' is a perennial topic. There are still some people who believe that a code generator like OWB cannot be in the same league as hand-crafted SQL. I answered that question quite definitely: "We carefully timed execution of full-size runs of both the original code and the OWB versions. Take it from me, the code that OWB generates is every bit as fast as the very best hand-crafted and fully tuned code that an expert programmer can produce."
The link is http://www.donnapkelly.pwp.blueyonder.co.uk/generated_code.htm
That said, it still behooves the developer to have a solid understanding of what the generated code will actually do, such as how it will take advantage of indexes, and so on. If not, the developer can create such monstrosities as lookups into an un-indexed field (I've seen that).
2. The real issue is not how fast any particular generated mapping runs, but whether or not the system as a whole is fit for purpose. Most often, that means: does it fit within its batch update window? My technique is to dump the process flow into Microsoft Project, and then to add the timings for each process. That creates a Critical Path, and then I can visually inspect it for any bottleneck processes. I usually find that there are not more than one or two dogs. I'll concentrate on those, fix them, and re-do the flow timings. I would add this: the dogs I have seen, I have invariably replaced. They were just garbage, They did not need tuning at all - just scrapping.
Gee, but this whole thing is minimum effort and real fast! I generally figure that it takes maybe a day or two (max) to soup up system performance to the point where it whizzes.
Fact is, I don't really care whether there are a lot of sub-optimal processes. All I really care about is performance of the system as a whole. This technique seems to work for me. 'Course, it depends on architecting the thing properly in the first place. Otherwise, no amount of tuning of going to help worth a darn.
Conversely (re. my note about replacing dogs) I do not think I have ever tuned a piece of OWB-generated code. Never found a need to. Not once. Not ever.
That's not to say I do not recognise the value of playing with deployment configuration parameters. Obviously, I set auditing=none, and operating mode=set based, and sometimes, I play with a couple of different target environments to fool around with partitioning, for example. Nonetheless, if it is not a switch or a knob inside OWB, I do not touch it. This is in line with my dictat that you shall use no other tool than OWB to develop data warehouses. (And that includes all documentation!). (OK, I'll accept MS Project)
Finally, you raise the concept of a 'testing framework'. This is a major part of what I am working on at the moment. This is a tough one. Clearly, the developer must unit test each mapping in a design-model-deploy-execute cycle, paying attention to both functionality and performance. When the developer is satisifed, that mapping will be marked as 'done' in the project workbook. Mappings will form part of a stream, executed as a process flow. Each process flow will usually terminate in a dimension, a fact, or an aggregate. Each process flow will be tested as an integrated whole. There will be test strategies devised, and test cases constructed. There will finally be system tests, to verify the validity of the system as a production-grade whole. (stuff like recovery/restart, late-arriving data, and so on)
For me, I use EDM (TM). That's the methodology I created (and trademarked) twenty years ago: Evolutionary Development Methodology (TM). This is a spiral methodology based around prototyping cycles within Stage cycles within Release cycles. For OWB, a Stage would consist (say) of a Dimensional update. What I am trying to now is to graft this within a traditional waterfall methodology, and I am having the same difficulties I had when I tried to do it then.
All suggestions on how to do that grafting gratefully received!
To sum up, I 'm kinda at a loss as to why you want to go deep into OWB-generated code performance stuff. Jeepers, architect the thing right, and the code runs fast enough for anyone. I've worked on ultra-large OWB systems, including validating the largest data warehouse in the UK. I've never found any value in 'tuning' the code. What I'd like you to comment on is this: what will it buy you?
Cheers,
Donna
http://www.donnapkelly.pwp.blueyonder.co.uk -
Provider proxy error - Service Interface with multiple operations
Hello experts,
I've a synchronous provider proxy scenario using an inbound and outbound service interface.
That service interface contains 3 operations: create, change and delete a table entry.
I created all the necessary repository objects and integration scenario objects.
Next, I generated a provider proxy on the ECC backend system and created an endpoint via SOAMANAGER.
When I test, I get this error:
No implementing class registered for the interface (ABAP interface, request message ...., request message, namespace....)
I currently use a receiver XI adapter in the scenario. Is that ok?
or should I use a receiver SOAP adapter with a SOAP action?
Please advise.
Thanks a lot.
DimitriHi,
Check these
INTERFACE_REGISTRATION_ERROR:No implementing class reg'd for interface
No implementing class registered for the interface
Regards
Seshagiri -
Hello,
I have googled and also have spoken alot with people on IRC but we are all at a loss with it.
I want to write a small tool that creates a picture (screenshot) of the current screen and then automatically uploads it to http://www.imageshack.us/index.html and returns the url to the picture in some way.
The problem is that i don't know how to get the upload working. I have read Sun's one-site-tutorial (but their cgi-thingie that was set up to try it out has been taken off). Then i tried it using imageshacks register-site, the url is: http://reg.imageshack.us/content.php?page=register
I simply changed the url to that and i also changed
out.println("string=" + stringToReverse);to
out.println("email1=abc");(email1 is the first textfield)
It should give me the "The two email fields do not match - please try again"-like-site. But it just gives me the site from the beginning (http://reg.imageshack.us/content.php?page=register).
So, whats wrong here? Also i wonder how to split email1 and email2 (with the "&" or writing "\r\n"?
I finally found working code that confuses me, url: http://www.cs.umd.edu/class/fall2004/cmsc424-0201/ta/examples/Validator.java
The httpC.setRequestMethod codelines seem alright, but...
s = "--" + boundary + eol
+ "Content-Disposition: form-data; name=\"ss\"" + eol
+ "Content-Type: text/html; charset=ISO-8859-1" + eol
+ eol + 1 + eol
+ "--" + boundary + eol
+ "Content-Disposition: form-data; name=\"uploaded_file\"; filename=\""
+ args[0] + "\"" + eol
+ "Content-Type: text/html; charset=ISO-8859-1" + eol + eol;and
out.writeBytes( eol + "--" + boundary + "--" + eol);eh?)
I have no idea what this is for, if its asked by imageshack or if its standard when sending the file, what would i write there if i want to upload an image? It confuses me. I'm at a loss what to do now.
Greetings from germany!A file upload through HTTP is handled by using a multipart request. A multipart requests consists of MIME headers, which is partly what is in that last piece of code.
I suggest you look into the HttpClient package, I believe it can do a file upload for you. Otherwise look into the file upload and mime RFC's, they might give you some clues. (RFC = request for comment)
http://jakarta.apache.org/commons/httpclient/
(checking the example code, there is a MultipartFileUploadApp example) -
Hi Experts,
Here we are not using CIN fully,But planned to use CIN fully.
Now our present condition is that, we done Capturing and Posting excise invoice with RG23 A1ad A2 register in Purchase /stores.In sale, we create Excise invoice in Local,also do the export process with sunsequent accounting effects in Excise G/Ls.Upto this , we do this process onlinely from last month July 2009.
Now we want to go further that is Utilisation Process.Is there any requirement of prerequisite for Ulisation process? And our client wants the Utilisation from month of April 2009.
So please suggest me and Is it possible to do Utilisation day to day basis?check the foolowing setting for utilization.
1. Logistics - General->Tax on Goods Movements->India->Account Determination->Specify Excise Accounts per Excise Transaction. here check whether entries in present for UTLZ
UTLZ CR Credit PLAAT1 PLA AT1 Account
UTLZ CR Credit PLABED PLA BED account
UTLZ CR Credit PLAECS PLA ECS Account
UTLZ CR Credit RG23AED RG 23 AED account
UTLZ CR Credit RG23AT1 RG 23 AT1 Account
UTLZ CR Credit RG23BED RG 23 BED account
UTLZ CR Credit RG23ECS RG 23 ECS Account
UTLZ DR Debit CLEAR CENVAT clearing account
2. Logistics - General->Tax on Goods Movements->India->Account Determination->Specify G/L Accounts per Excise Transaction
CHECK Accounts mainatin for UTLZ.
3. Logistics - General->Tax on Goods Movements->India->Business Transactions->Utilization. check the setting . -
Sign in link on OTN homepage gives 500 error
The sign-in link on the OTN homepage (http://www.oracle.com/technology/index.html) shows the error below. Also I can't log in from the downloads area.
500 Internal Server Error
java.lang.NullPointerException
at oracle.emarket.reg.Logger.LogEnabled(Logger.java:120)
at register.jspService(_register.java:216)
[SRC:/register.jsp:459]
at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)I was to face to a similar problem, it became from proxy...
Nicolas. -
I have WLCS 3.1 installed under WindowsNT 4.0 SP5. WebLogic Server 5.1
with the SP6 applied.
I can start up the commerce server, and access the catalog demo and the
admin screens. When I attempt to access the portal demo, the JVM exits
with an exception. I am using JDK 1.2.2
Any suggestions on what to try?
Thanks
Bruce"Bruce Henderson" <[email protected]> wrote in message
news:[email protected]...
Yeah, that is a good idea, but it is a NT level crash that happens, no
messages on the java console at all. I am running Dr Watson, and it
does create a "Crash File" but it is far too huge and cryptic for me to
find much out.???
When clicking "Start Commerce Server", there appeares console like "command
prompt", and
log starts as following. Don't you have this?
Pay attension that there's Japanese letters in this log, please.
? 12 04 09:52:31 JST 2000:<I> <Config> Property name: 'weblogic.jms.debug',
cur
rent value: 'false'
? 12 04 09:52:31 JST 2000:<I> <Config> Property name:
'weblogic.jdbc.logFileNam
e', current value: 'C:\WebLogicCommerceServer3.1\server\jdbc.log'
? 12 04 09:52:31 JST 2000:<I> <Config> Property name:
'weblogic.cluster.dnsName
', current value: 'null'
? 12 04 09:52:31 JST 2000:<I> <Config> Property name:
'weblogic.httpd.requireAu
thentication', current value: 'true'
? 12 04 09:52:31 JST 2000:<I> <Config> Property name:
'weblogic.cluster.multica
stAddress', current value: ''
? 12 04 09:52:31 JST 2000:<I> <Config> Property name:
'weblogic.system.defaultS
ecureProtocol', current value: 't3s'
? 12 04 09:52:31 JST 2000:<I> <Config> Property name:
'weblogic.security.realm.
cache.auth.enable', current value: 'true'
? 12 04 09:52:31 JST 2000:<I> <Config> Property name:
'weblogic.system.executeT
hreadCount', current value: '15'
? 12 04 09:52:31 JST 2000:<I> <Config> Property name:
'weblogic.httpd.session.c
ookie.comment', current value: 'Weblogic Server Session Tracking Cookie'
? 12 04 09:52:31 JST 2000:<I> <Config> Property name:
'weblogic.jms.tableNamePr
efix', current value: 'null'
? 12 04 09:52:31 JST 2000:<I> <Config> Property name:
'weblogic.jms.connectionP
ool', current value: 'null'
? 12 04 09:52:31 JST 2000:<I> <Config> Property name:
'weblogic.system.shutdown
Class', current value: 'null'
? 12 04 09:52:31 JST 2000:<I> <Config> Property name:
'weblogic.httpd.defaultSe
rvlet', current value: 'file'
? 12 04 09:52:31 JST 2000:<I> <Config> Property name:
'weblogic.cluster.name',
current value: 'mycluster'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.system.defaultP
rotocol', current value: 't3'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.httpd.postTimeo
utSecs', current value: '30'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.security.group'
, current value: 'null'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.httpd.tunneling
enabled', current value: 'false'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.security.realm.
cache.caseSensitive', current value: 'true'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.security.certif
icate.server', current value:
'C:\WebLogicCommerceServer3.1\server\democert.pem'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.httpd.mimeType'
, current value:
'[weblogic.httpd.mimeType.application/vnd.wap.wmlscriptc=wmlsc
weblogic.httpd.mimeType.application/x-java-vm=class
weblogic.httpd.mimeType.imag
e/gif=gif weblogic.httpd.mimeType.application/octet-stream=exe
weblogic.httpd.mi
meType.text/html=html,htm weblogic.httpd.mimeType.application/pdf=pdf
weblogic.h
ttpd.mimeType.application/x-java-archive=jar
weblogic.httpd.mimeType.image/jpeg=
jpeg,jpg weblogic.httpd.mimeType.image/vnd.wap.wbmp=wbmp
weblogic.httpd.mimeType
.application/zip=zip weblogic.httpd.mimeType.text/vnd.wap.wmlscript=wmls
weblogi
c.httpd.mimeType.text/vnd.wap.wml=wml
weblogic.httpd.mimeType.application/vnd.wa
p.wmlc=wmlc
weblogic.httpd.mimeType.application/x-java-serialized-object=ser ]'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.httpd.logRotati
onBeginTime', current value: ''
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.httpd.webApp',
current value:
'[weblogic.httpd.webApp.portal=C:/WebLogicCommerceServer3.1/serve
r/webapps/examples/portal/portal.war
weblogic.httpd.webApp.tools=C:/WebLogicComm
erceServer3.1/server/webapps/admin/tools.war
weblogic.httpd.webApp.wlcs=C:/WebLo
gicCommerceServer3.1/server/webapps/wlcs/ ]'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.system.minPassw
ordLen', current value: '8'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.jms.connectionF
actoryArgs', current value: 'null'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.httpd.session.p
ersistentStoreType', current value: 'file'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.httpd.session.c
acheEntries', current value: '1024'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.jms.queueCompac
tionPeriod', current value: '10'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.security.certif
icate.authority', current value:
'C:\WebLogicCommerceServer3.1\server\ca.pem'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.resource.MailSe
ssion', current value: 'null'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.httpd.session.c
ookie.maxAgeSecs', current value: '-1'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.login.readTimeo
utMillisSSL', current value: '25000'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.cluster.enable'
, current value: 'false'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.security.SSL.ci
phersuites', current value: 'null'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.httpd.indexFile
s', current value: 'index.html,index.htm,index.jsp'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name: 'weblogic.password',
curr
ent value: '[weblogic.password.miyauchi=********
weblogic.password.system=******
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.httpd.enableLog
File', current value: 'false'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.system.enableRe
verseDNSLookups', current value: 'false'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.httpd.indexDire
ctories', current value: 'false'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.system.maxLogFi
leSize', current value: '1024'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.system.logFile'
, current value: 'C:\WebLogicCommerceServer3.1\server\weblogic.log'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.httpd.session.t
imeoutSecs', current value: '3600'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.httpd.logRotati
onType', current value: 'size'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.httpd.logFileFo
rmat', current value: 'common'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.system.perClust
erPropertiesFile', current value: 'null'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.security.key.ex
port.lifespan', current value: '500'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.CORBA.connectio
nPool', current value: 'null'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'java.system.property', c
urrent value:
'[java.system.property.cloudscape.system.home=C:/WebLogicCommerceS
erver3.1/db/data ]'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.httpd.logFileNa
me', current value: 'C:\WebLogicCommerceServer3.1\server\access.log'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.httpd.defaultMi
meType', current value: 'text/plain'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.debug.httpd.ser
vlet', current value: 'false'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.jms.connectionF
actoryName', current value: 'null'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.system.SSLListe
nPort', current value: '7502'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.httpd.logRotati
onPeriodMins', current value: '1440'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.httpd.URLResour
ce', current value: 'null'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.httpd.session.c
ookie.name', current value: 'WebLogicSession'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.jms.quiescent',
current value: 'false'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.httpd.register'
, current value:
'[weblogic.httpd.register.application=com.beasys.commerce.found
ation.flow.FlowManager weblogic.httpd.register.AdminProps=admin.AdminProps
weblo
gic.httpd.register.classes=weblogic.servlet.ClasspathServlet
weblogic.httpd.regi
ster.AdminEvents=admin.AdminEvents
weblogic.httpd.register.AdminMain=admin.Admin
Main
weblogic.httpd.register.*.shtml=weblogic.servlet.ServerSideIncludeServlet w
eblogic.httpd.register.servletimages=weblogic.servlet.internal.InternalImage
Serv
let weblogic.httpd.register.ConsoleHelp=weblogic.servlet.ClasspathServlet
weblog
ic.httpd.register.AdminJDBC=admin.AdminJDBC
weblogic.httpd.register.ShowDocServl
et=com.beasys.commerce.content.ShowDocServlet
weblogic.httpd.register.*.jsp=webl
ogic.servlet.JSPServlet
weblogic.httpd.register.AdminCaptureRootCA=admin.AdminCa
ptureRootCA weblogic.httpd.register.AdminRealm=admin.AdminRealm
weblogic.httpd.r
egister.AdminLicense=admin.AdminLicense
weblogic.httpd.register.Certificate=util
s.certificate
weblogic.httpd.register.AdminConnections=admin.AdminConnections we
blogic.httpd.register.AdminClients=admin.AdminClients
weblogic.httpd.register.fi
le=weblogic.servlet.FileServlet
weblogic.httpd.register.AdminVersion=admin.Admin
Version
weblogic.httpd.register.authenticated=weblogic.t3.srvr.ClientAuthenticat
ionServlet weblogic.httpd.register.AdminThreads=admin.AdminThreads ]'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.security.client
RootCA4', current value: 'null'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.security.client
RootCA3', current value: 'null'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.security.client
RootCA2', current value: 'null'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.httpd.session.c
ookies.enable', current value: 'true'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.httpd.servlet.e
xtensionCaseSensitive', current value: 'true'
? 12 04 09:52:32 JST 2000:<I> <Config> Property name:
'weblogic.security.realm.
cache.group.enable', current value: 'true'
? 12 04 09:52:33 JST 2000:<I> <Config> Property name:
'weblogic.system.nativeIO
.enable', current value: 'true'
? 12 04 09:52:33 JST 2000:<I> <Config> Property name:
'weblogic.jms.useCallable
Purge', current value: 'false'
? 12 04 09:52:33 JST 2000:<I> <Config> Property name:
'weblogic.rmi.enableServe
rSideStubs', current value: 'false'
? 12 04 09:52:33 JST 2000:<I> <Config> Property name:
'weblogic.httpd.session.c
ookie.path', current value: '/'
? 12 04 09:52:33 JST 2000:<I> <Config> Property name:
'weblogic.httpd.session.U
RLRewriting.enable', current value: 'true'
? 12 04 09:52:33 JST 2000:<I> <Config> Property name:
'weblogic.system.enableSe
tUID', current value: 'false'
? 12 04 09:52:33 JST 2000:<I> <Config> Property name:
'weblogic.security.realm.
cache.acl.enable', current value: 'true'
? 12 04 09:52:33 JST 2000:<I> <Config> Property name: 'weblogic.jms.topic',
cur
rent value: 'null'
? 12 04 09:52:33 JST 2000:<I> <Config> Property name:
'weblogic.administrator.n
ame', current value: 'WebLogic Administrator'
? 12 04 09:52:33 JST 2000:<I> <Config> Property name:
'weblogic.jms.queueSessio
nPool', current value: 'null'
? 12 04 09:52:33 JST 2000:<I> <Config> Property name:
'weblogic.security.ssl.en
able', current value: 'true'
? 12 04 09:52:33 JST 2000:<I> <Config> Property name:
'weblogic.administrator.l
ocation', current value: '(None)'
? 12 04 09:52:33 JST 2000:<I> <Config> Property name:
'weblogic.system.enableSe
tGID', current value: 'false'
? 12 04 09:52:33 JST 2000:<I> <Config> Property name:
'weblogic.httpd.initArgs'
, current value:
'[weblogic.httpd.initArgs.ConsoleHelp=defaultFilename=/weblogic
/admin/help/NoContent.html
weblogic.httpd.initArgs.*.jsp=pageCheckSeconds=0,pack
agePrefix=jsp,compileCommand=C:/jdk1.2.2/bin/javac,workingDir=C:/WebLogicCom
merc
eServer3.1/server/classfiles,verbose=false,keepgenerated=false
weblogic.httpd.in
itArgs.file=defaultFilename=index.html ]'
? 12 04 09:52:33 JST 2000:<I> <Config> Property name:
'weblogic.administrator.e
mail', current value: 'root'
? 12 04 09:52:33 JST 2000:<I> <Config> Property name:
'weblogic.system.enableCo
nsole', current value: 'true'
? 12 04 09:52:33 JST 2000:<I> <Config> Property name:
'weblogic.security.realm.
cache.perm.enable', current value: 'true'
? 12 04 09:52:33 JST 2000:<I> <Config> Property name:
'weblogic.system.user', c
urrent value: 'system'
? 12 04 09:52:33 JST 2000:<I> <Config> Property name:
'weblogic.httpd.charsets'
, current value: 'null'
? 12 04 09:52:33 JST 2000:<I> <System Props> awt.toolkit =
sun.awt.windows.WToo
lkit
? 12 04 09:52:33 JST 2000:<I> <System Props> cloudscape.system.home =
C:/WebLog
icCommerceServer3.1/db/data
? 12 04 09:52:33 JST 2000:<I> <System Props> commerce.properties =
C:\WebLogicC
ommerceServer3.1\weblogiccommerce.properties
? 12 04 09:52:33 JST 2000:<I> <System Props> file.encoding = MS932
? 12 04 09:52:33 JST 2000:<I> <System Props> file.encoding.pkg = sun.io
? 12 04 09:52:33 JST 2000:<I> <System Props> file.separator = \
? 12 04 09:52:33 JST 2000:<I> <System Props> java.awt.fonts =
? 12 04 09:52:33 JST 2000:<I> <System Props> java.awt.graphicsenv =
sun.awt.Win
32GraphicsEnvironment
? 12 04 09:52:33 JST 2000:<I> <System Props> java.awt.printerjob =
sun.awt.wind
ows.WPrinterJob
? 12 04 09:52:33 JST 2000:<I> <System Props> java.class.path =
C:\jdk1.2.2\lib\
tools.jar;C:\weblogic\lib\weblogic510sp6boot.jar;C:\weblogic\classes\boot
? 12 04 09:52:33 JST 2000:<I> <System Props> java.class.version = 46.0
? 12 04 09:52:33 JST 2000:<I> <System Props> java.compiler = symcjit
? 12 04 09:52:33 JST 2000:<I> <System Props> java.ext.dirs =
C:\jdk1.2.2\jre\li
b\ext
? 12 04 09:52:33 JST 2000:<I> <System Props> java.home = C:\jdk1.2.2\jre
? 12 04 09:52:33 JST 2000:<I> <System Props> java.io.tmpdir =
C:\DOCUME~1\ADMIN
I~1\LOCALS~1\Temp\
? 12 04 09:52:33 JST 2000:<I> <System Props> java.library.path =
C:\jdk1.2.2\bi
n;.;C:\WINNT\System32;C:\WINNT;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\
Wbem
;C:\weblogic\bin;C:\WebLogicCommerceServer3.1\eval\win32\CyberCash\bin;C:\We
bLog
icCommerceServer3.1\eval\win32\Taxware\bin
? 12 04 09:52:33 JST 2000:<I> <System Props> java.protocol.handler.pkgs =
weblo
gic.utils|weblogic.utils
? 12 04 09:52:33 JST 2000:<I> <System Props> java.security.manager =
? 12 04 09:52:33 JST 2000:<I> <System Props> java.security.policy =
C:\weblogic
\weblogic.policy
? 12 04 09:52:33 JST 2000:<I> <System Props> java.specification.name = Java
Pla
tform API Specification
? 12 04 09:52:33 JST 2000:<I> <System Props> java.specification.vendor =
Sun Mi
crosystems Inc.
? 12 04 09:52:33 JST 2000:<I> <System Props> java.specification.version =
1.2
? 12 04 09:52:33 JST 2000:<I> <System Props> java.vendor = Sun Microsystems
Inc
? 12 04 09:52:33 JST 2000:<I> <System Props> java.vendor.url =
http://java.sun.
com/
? 12 04 09:52:33 JST 2000:<I> <System Props> java.vendor.url.bug =
http://java.
sun.com/cgi-bin/bugreport.cgi
? 12 04 09:52:33 JST 2000:<I> <System Props> java.version = 1.2.2
? 12 04 09:52:33 JST 2000:<I> <System Props> java.vm.info = build
JDK-1.2.2_006
, native threads, symcjit
? 12 04 09:52:33 JST 2000:<I> <System Props> java.vm.name = Classic VM
? 12 04 09:52:33 JST 2000:<I> <System Props> java.vm.specification.name =
Java
Virtual Machine Specification
? 12 04 09:52:33 JST 2000:<I> <System Props> java.vm.specification.vendor =
Sun
Microsystems Inc.
? 12 04 09:52:33 JST 2000:<I> <System Props> java.vm.specification.version
= 1.
0
? 12 04 09:52:33 JST 2000:<I> <System Props> java.vm.vendor = Sun
Microsystems
Inc.
? 12 04 09:52:33 JST 2000:<I> <System Props> java.vm.version = 1.2.2
? 12 04 09:52:33 JST 2000:<I> <System Props> line.separator =
? 12 04 09:52:33 JST 2000:<I> <System Props> os.arch = x86
? 12 04 09:52:33 JST 2000:<I> <System Props> os.name = Windows NT
? 12 04 09:52:33 JST 2000:<I> <System Props> os.version = 5.0
? 12 04 09:52:33 JST 2000:<I> <System Props> path.separator = ;
? 12 04 09:52:33 JST 2000:<I> <System Props> pipeline.properties =
C:\WebLogicC
ommerceServer3.1\pipeline.properties
? 12 04 09:52:33 JST 2000:<I> <System Props> sun.boot.class.path =
C:\jdk1.2.2\
jre\lib\rt.jar;C:\jdk1.2.2\jre\lib\i18n.jar;C:\jdk1.2.2\jre\classes
? 12 04 09:52:33 JST 2000:<I> <System Props> sun.boot.library.path =
C:\jdk1.2.
2\jre\bin
? 12 04 09:52:33 JST 2000:<I> <System Props> sun.io.unicode.encoding =
UnicodeL
ittle
? 12 04 09:52:33 JST 2000:<I> <System Props> user.dir =
C:\WebLogicCommerceServ
er3.1
? 12 04 09:52:33 JST 2000:<I> <System Props> user.home = C:\Documents and
Setti
ngs\Administrator
? 12 04 09:52:33 JST 2000:<I> <System Props> user.language = ja
? 12 04 09:52:33 JST 2000:<I> <System Props> user.name = Administrator
? 12 04 09:52:33 JST 2000:<I> <System Props> user.region = JP
? 12 04 09:52:33 JST 2000:<I> <System Props> user.timezone = Asia/Tokyo
? 12 04 09:52:33 JST 2000:<I> <System Props> webflow.properties =
C:\WebLogicCo
mmerceServer3.1\webflow.properties
? 12 04 09:52:34 JST 2000:<I> <System Props> weblogic.class.path =
C:\weblogic\
lib\weblogic510sp6.jar;C:\weblogic\lib\WebLogic_RDBMS.jar;C:\weblogic\licens
e;C:
\weblogic\classes;C:\weblogic\lib\weblogicaux.jar;C:\weblogic\lib\weblogic-t
ags-
510.jar;C:\WebLogicCommerceServer3.1\license;C:\WebLogicCommerceServer3.1\cl
asse
s;C:\WebLogicCommerceServer3.1\lib\rules.jar;C:\WebLogicCommerceServer3.1\li
b\jr
ulesserviceprovider.jar;C:\WebLogicCommerceServer3.1\deploy\bmp\classes;C:\W
ebLo
gicCommerceServer3.1\eval\win32\Taxware\classes;C:\weblogic\eval\cloudscape\
lib\
cloudscape.jar;C:\weblogic\eval\cloudscape\lib\tools.jar;C:\weblogic\eval\cl
ouds
cape\lib\client.jar
? 12 04 09:52:34 JST 2000:<I> <System Props> weblogic.home = C:\weblogic
? 12 04 09:52:34 JST 2000:<I> <System Props> weblogic.properties =
C:\WebLogicC
ommerceServer3.1\weblogic.properties
? 12 04 09:52:34 JST 2000:<I> <System Props> weblogic.system.home =
C:\WebLogic
CommerceServer3.1
? 12 04 09:52:34 JST 2000:<I> <System Props> weblogic.system.name = server
? 12 04 09:52:34 JST 2000:<I> <WebLogicServer> Loaded License :
C:/weblogic/lic
ense/WebLogicLicense.xml
? 12 04 09:52:34 JST 2000:<I> <WebLogicServer> Server loading from
weblogic.cla
ss.path. EJB redeployment enabled. -
I am trying to use MapPhysicalMemory and UnMapPhysicalMemory functions to
control a single function, MIL-STD-1553 board for PC ISA
systems (ASF-PC by SBS Tecnologies, Inc.). The ASF-PC is mapped into the
upper memory space of conventional memory at an available 32K x 16-bit word
boundary. I am attaching a documentation file for your reference.
Note that when the board is installed in conventional memory space, only
a 32K block of 16 bit words of control registers and RAM is accessable at
one time. Access to the second 32K block of memory is possible through a
bank select mechanism that iscontrolled by an on-board I/O Register. See
section 4, System Operation, for a description of the ASF-PC I/O Register.
This register manages the functionality of the ASF-PC. The
base address <@location D0000h>, interrupt level (IR11), and I/O Register
address <@location 350h> are selected using switches on the board.
The system I am using is running Windows 95 and I have excluded these memory
addresses from use by other software. Since the card might not respond fast
enough for block addressing I have tried putting in delays of varying lengths
between each word access. This did not make the code work.
The code I am using was written in MS Visual C++ version 1.5 using MFC as
a 16-bit application and I am porting it to be built in VC++ Version 6.0
as a 32-bit application. The ReadRam and WriteRam functions are used because
they worked but the mapping functions used involved setting up a memory map
with an IMPORT statement in a definition file (.def) as follows:
IMPORTS __1553D000Selector = KERNEL.__D000h
and defined in the source as:
extern "C" WORD _1553D000Selector; // Windows-exported selector
for segment D000 in conventional memory. Defined in ".DEF" file
Then using the following typedef statement:
typedef UINT FAR* LP1553;
the map address was established as follows:
LP1553 m_baseCardAddress = (LP1553)MAKELONG(0, &_1553D000Selector);
This address was then used to write RAM in a function as follows:
void C1553::WriteRam(UINT wordoffset, UINT wordval)
m_baseCardAddress[wordoffset] = wordval;
and to read RAM in a function as follows:
UINT C1553::ReadRam(UINT wordoffset)
{ return(m_baseCardAddress[wordoffset]); }
where the variables were defined as:
UINT wordval;
UINT wordoffset;
Simple enough yet only one problem. This functionality is not available
with Version 6.0. I am building this in VC++ 6.0 because I want to build
it as a DLL from which I can export functions to call from it to avoid any
operator interaction and speed up execution time. It is also one of the
standard platforms adopted by our department (along with LW/CVI of course).
These are the definitions and variables:
#define BASEPORT1553 0x350 // I/O Port of 1553 card
#define CONTROL_REG 0x00 // ASF Control Register
#define CURRENT_COMMAND_REG 0x02 // ASF Current Command
Block Rg
#define HIGH_PRIORITY_EN_REG 0x07 // ASF High Prior Interrupt
Reg
#define HOST_CONTROL_REG 0x1E // ASF Host Control Register
#define INT_LOG_LIST_POINTER_REG 0x06 // ASF Intrpt Log List
Pntr Reg
#define POLLING_COMPARE_REG 0x03 // ASF Polling Compare
Register
#define STATUS_REG 0x01 // ASF Status Register
#define VARIABLE_VOLT_REG 0x1D // ASF Variable Voltage
DAC Reg
#define NOSTATUSWORD 0xFFFF // Default when no status
word
#define SINGLEMESSAGEADDRESS 0x0020 // Location to load single
msg this message is to be placed
#define COMMANDBLOCKSTARTADDRESS 0x0060
#define DATALISTSTARTADDRESS 256 * 8 + COMMANDBLOCKSTARTADDRESS
#define INTLOGBASEADDRESS 0x7F00 // Interrupt Log List starting
#define INTLOGMAXADDRESS 0x7FFF // and ending address
typedef unsigned short int USINT;
typedef unsigned long int ULINT;
struct message1553
UINT controlword;
UINT commandword[2];
UINT statusword[2];
UINT dataword[32];
UINT headpointer;
UINT tailpointer;
int m_mapHandle;
char * m_ptrPhysicalAddr;
ULINT m_baseCardAddress; // Base address of TIK RAM;
short m_baseport; // I/O Port of 1553 card
UINT m_controlreg; // Control register contents
UINT m_numBytes; // Number of bytes to map
The following calls are made in the C1553 constructor:
GetBaseMemAndPort(); // Get base mem & port
address
if (CVILowLevelSupportDriverLoaded ())
m_numBytes = 0xffff;
MapPhysicalMemory (m_baseCardAddress, m_numBytes, &m_ptrPhysicalAddr, &m_mapHandle);
These are the functions:
int C1553::GetBaseMemAndPort()
m_baseCardAddress = 0xD0000; // Set card base port address
m_baseport = BASEPORT1553; // Point to start of I/O Register RAM
return(TRUE);
UINT C1553::ReadRam(USINT wordoffset)
UINT wordval;
char *ptrPhysMem = m_ptrPhysicalAddr;
ptrPhysMem += (wordoffset << 1);
wordval = ((UINT)*ptrPhysMem << 8) | ((UINT)*(ptrPhysMem + 1));
return(wordval);
void C1553::WriteRam(USINT wordoffset, USINT wordval)
char byteval = (char)wordval;
char *ptrPhysicalMem = m_ptrPhysicalAddr;
ptrPhysicalMem += (wordoffset << 1);
*ptrPhysicalMem = byteval;
ptrPhysicalMem ++;
byteval = (char)(wordval >> 8);
*ptrPhysicalMem = byteval;
This is how I am using them.
void C1553::Reset()
UINT intLogEntry; // Interrupt Log Entry Address
outp(m_baseport, 0x03); // Enable board in 8 bit
data transfer mode
// 32K word memory size
// Check to see if master reset is set
if (ReadRam(HOST_CONTROL_REG) & 1)
sprintf(msg, "%s1553 Interface Card Not enabled. %s\n",
msg, "ASF Master Reset Signal is not active.");
MessageBox(NULL, msg, "Fatal Error!", MB_OK);
WriteRam(HOST_CONTROL_REG, 0); // Reset master reset
Delay(CARDRESETENDTIME); // Wait for card to come out of
reset mode
WriteRam(HOST_CONTROL_REG, 0x08); // Clear pending interrupts
WriteRam(HOST_CONTROL_REG, 0x040); // LED0 ON
WriteRam(HOST_CONTROL_REG, 0x080); // LED0 OFF AND LED1 ON
WriteRam(HOST_CONTROL_REG, 0); // LEDs OFF
WriteRam(VARIABLE_VOLT_REG, 0xF0); // Turn on max voltage
for (intLogEntry = INTLOGBASEADDRESS + 2; // Initialize each Interrupt
intLogEntry < INTLOGMAXADDRESS; intLogEntry += 3) // Log List
entry's
// tail pointer to
WriteRam(intLogEntry, intLogEntry + 1); // next cell address
WriteRam(intLogEntry - 2, 0); // Zero Interrupt Status Word
WriteRam(intLogEntry - 1, 0); // Zero Command Block Pointer
WriteRam(intLogEntry - 3, INTLOGBASEADDRESS); // Make circular list
WriteRam(INT_LOG_LIST_POINTER_REG, INTLOGBASEADDRESS); // Point to list
start
void C1553::LoadMessage(struct message1553 *message)
int datawordnum; // Data word number
int numofdatawords; // Data words in this message
UINT baseaddr = message->headpointer; // 1553 card address where
this message is to be placed
WriteRam(CONTROL_REG, m_controlreg); // Set card as Bus Controller
WriteRam(baseaddr, baseaddr); // Head Pointer
WriteRam(baseaddr + 1, message->controlword); // Control Word
WriteRam(baseaddr + 2, message->commandword[0]); // Comand word 1
WriteRam(baseaddr + 3, message->commandword[1]); // Comand word 2
WriteRam(baseaddr + 4, baseaddr + 8); // Data Pointer
WriteRam(baseaddr + 5, NOSTATUSWORD); // Status word 1
WriteRam(baseaddr + 6, NOSTATUSWORD); // Status word 2
WriteRam(baseaddr + 7, message->tailpointer); // Tail Pointer
if (!(message->commandword[0] & 0x0400)) // If this is a receive command
{ // load proper # of data
words
baseaddr = message->headpointer + 8; // Point to datawords
numofdatawords = message->commandword[0] & 0x1F;
if (numofdatawords == 0)
numofdatawords = 32;
for (datawordnum = 0; datawordnum < numofdatawords; datawordnum++)
WriteRam(baseaddr + datawordnum, message->dataword[datawordnum]);
int C1553:endMessage(struct message1553 *message, char *msg)
CTimeCounter sendmsgtc; // Send message time counter
int datawordnum; // Data word number
int numofdatawords; // # of data words in message
UINT baseaddr = message->headpointer; // 1553 card addr where
msg at
unsigned long sendtime = 0; // Time since msg being
sent
// If Hardware failure or MRST is set
if ((ReadRam(HOST_STATUS_REG) & 1) || ((ReadRam(HOST_STATUS_REG) >> 1)
& 1))
sprintf(msg, "%s1553 Transmission ERROR. Hardware failure or %s\n",
msg, "ASF Master Reset Signal active.");
return(FALSE); // Indicate message error
WriteRam(CURRENT_COMMAND_REG, message->headpointer);
WriteRam(POLLING_COMPARE_REG, 0); // Disable polling
WriteRam(HIGH_PRIORITY_EN_REG, 0); // Disable priority interrupts
WriteRam(CONTROL_REG, m_controlreg | 1); // Start Enable Ready
WriteRam(CONTROL_REG, m_controlreg | 1); // Start Enable Run
sendmsgtc.Reset(); // Reset elapsed time counter
while (sendtime <= MAXSINGLEMESSAGESENDTIME)
{ // While not reached max time
sendtime = sendmsgtc.MsecsElapsed(); // Time since send began
if (ReadRam(STATUS_REG) & 1) // If Command not complete,
continue; // wait for command to
complete.
if ((ReadRam(message->headpointer + 1) & 0x8000) || // If message
error
(ReadRam(message->headpointer + 5) == NOSTATUSWORD))
if (ReadRam(message->headpointer + 5) == NOSTATUSWORD)
{ // If no status word received
sprintf(msg, "%s1553 Transmission ERROR. No RT status word
%s\n",
msg, "received.");
else // If status word received
sprintf(msg, "%s1553 Transmission ERROR. RT status %s %04X.\n",
msg, "word was", ReadRam(message->headpointer + 5));
return(FALSE); // Indicate message error
if (message->commandword[0] & 0x0400) // If this is a transmit
command
{ // read proper # of data
words
baseaddr = message->headpointer + 8; // Point to datawords
numofdatawords = message->commandword[0] & 0x1F;
if (numofdatawords == 0)
numofdatawords = 32;
for (datawordnum = 0; datawordnum < numofdatawords; datawordnum++)
message->dataword[datawordnum] = ReadRam(baseaddr + datawordnum);
return(TRUE); // Successful
sprintf(msg, "%s1553 Timeout ERROR. Status register indicates command
%s",
msg, "did not complete execution.\n");
return(FALSE); // Timed out before successful
The following calls are made in the C1553 destructor:
outp(m_baseport, 0x00); // Disable the 1553 card
UnMapPhysicalMemory (m_mapHandle);
This all works fine and I get no errors during execution of these commands.
However, when I use these commands to verify that the UUT is in transfer
mode by reading the dataword array of the 1553message structure, I find that
dataword[0] (the so-called headerword) is correctly returned and dataword[1]
has 0x8000 in it, but dataword [2] (which has the transfer mode bit) has
no data in it at all. In fact, the other data words returned in the array
are all zeros. I have tried various alignments using #pragma pack(0-8) statements
around the 1553message structure definition, but to no avail. Since the
variables in the structure are UINT's, does this really matter? What could
be causing this problem?
Thanks for your help,
Jeff Green
Raytheon Missile Systems Company
Bldg. M20, M/S P17
PO Box 11337
Tucson, AZ 85734-1337
520-663-7540
FAX 520-663-6847I am replying to my own message (no I'm not crazy) to make a correction to
the ReadRam function. I inadvertently sent a previous revision of it. See
below.
UINT C1553::ReadRam(UINT wordoffset)
UINT wordval;
char *ptrPhysMem = m_ptrPhysicalAddr;
ptrPhysMem += (wordoffset << 1);
wordval = (UINT)*ptrPhysMem;
ptrPhysMem ++;
wordval += (UINT)((USINT)(*ptrPhysMem << 8));
return(wordval);
"Jeff Green" wrote:
>>I am trying to use MapPhysicalMemory and UnMapPhysicalMemory functions
to>control a single function, MIL-STD-1553 board for PC ISA>systems (ASF-PC
by SBS Tecnologies, Inc.). The ASF-PC is mapped into the>upper memory space
of conventional memory at an available 32K x 16-bit word>boundary. I am
attaching a documentation file for your reference.>>Note that when the board
is installed in conventional memory space, only>a 32K block of 16 bit words
of control registers and RAM is accessable at>one time. Access to the second
32K block of memory is possible through a>bank select mechanism that iscontrolled
by an on-board I/O Register. See>section 4, System Operation, for a description
of the ASF-PC I/O Register.>This register manages the functionality of the
ASF-PC. The>base address <@location D0000h>, interrupt level (IR11), and
I/O Register>address <@location 350h> are selected using switches on the
board. >>The system I am using is running Windows 95 and I have excluded
these memory>addresses from use by other software. Since the card might not
respond fast>enough for block addressing I have tried putting in delays of
varying lengths>between each word access. This did not make the code work.>>The
code I am using was written in MS Visual C++ version 1.5 using MFC as>a 16-bit
application and I am porting it to be built in VC++ Version 6.0>as a 32-bit
application. The ReadRam and WriteRam functions are used because>they worked
but the mapping functions used involved setting up a memory map>with an IMPORT
statement in a definition file (.def) as followsIMPORTS __1553D000Selector
= KERNEL.__D000h>and defined in the source asextern "C" WORD _1553D000Selector;
// Windows-exported selector>for segment D000 in conventional
memory. Defined in ".DEF" file>>Then using the following typedef statementtypedef
UINT FAR* LP1553;>the map address was established as followsLP1553 m_baseCardAddress
= (LP1553)MAKELONG(0, &_1553D000Selector);>>This address was then used to
write RAM in a function as followsvoid C1553::WriteRam(UINT wordoffset,
UINT wordval)>{> m_baseCardAddress[wordoffset] = wordval;>}>and to read
RAM in a function as followsUINT C1553::ReadRam(UINT wordoffset)>{
return(m_baseCardAddress[wordoffset]); }>where the variables were defined
asUINT wordval;>UINT wordoffset;>>Simple enough yet only one problem.
This functionality is not available>with Version 6.0. I am building this
in VC++ 6.0 because I want to build>it as a DLL from which I can export functions
to call from it to avoid any>operator interaction and speed up execution
time. It is also one of the>standard platforms adopted by our department
(along with LW/CVI of course).>>These are the definitions and variables>
#define BASEPORT1553 0x350 // I/O Port of 1553 card>>#define CONTROL_REG
0x00 // ASF Control Register>#define CURRENT_COMMAND_REG
0x02 // ASF Current Command>Block Rg>#define HIGH_PRIORITY_EN_REG
0x07 // ASF High Prior Interrupt>Reg>#define HOST_CONTROL_REG
0x1E // ASF Host Control Register>#define INT_LOG_LIST_POINTER_REG
0x06 // ASF Intrpt Log List>Pntr Reg>#define POLLING_COMPARE_REG
0x03 // ASF Polling Compare>Register>#define STATUS_REG
0x01 // ASF Status Register>#define VARIABLE_VOLT_REG
0x1D // ASF Variable Voltage>DAC Reg>#define NOSTATUSWORD
0xFFFF // Default when no status>word>#define SINGLEMESSAGEADDRESS
0x0020 // Location to load single>msg this message is to be
placed >#define COMMANDBLOCKSTARTADDRESS 0x0060>#define DATALISTSTARTADDRESS
256 * 8 + COMMANDBLOCKSTARTADDRESS>#define INTLOGBASEADDRESS
0x7F00 // Interrupt Log List starting>#define INTLOGMAXADDRESS
0x7FFF // and ending address>>typedef unsigned short int USINT;>typedef
unsigned long int ULINT;>>struct message1553>{> UINT controlword;> UINT
commandword[2];> UINT statusword[2];> UINT dataword[32];> UINT headpointer;>
UINT tailpointer;>};>>int m_mapHandle;>char * m_ptrPhysicalAddr;>ULINT
m_baseCardAddress; // Base address of TIK RAM;>short m_baseport; // I/O
Port of 1553 card>UINT m_controlreg; // Control register contents>UINT m_numBytes;
// Number of bytes to map>>The following calls are made in the C1553 constructor
GetBaseMemAndPort(); // Get base mem & port>address>
if (CVILowLevelSupportDriverLoaded ())> {> m_numBytes = 0xffff;>
MapPhysicalMemory (m_baseCardAddress, m_numBytes, &m_ptrPhysicalAddr, &m_mapHandle);>
}>>These are the functions>int C1553::GetBaseMemAndPort()>{ > m_baseCardAddress
= 0xD0000; // Set card base port address> m_baseport = BASEPORT1553; //
Point to start of I/O Register RAM>> return(TRUE); >}>>UINT C1553::ReadRam(USINT
wordoffset)>{> UINT wordval;> char *ptrPhysMem = m_ptrPhysicalAddr;>> ptrPhysMem
+= (wordoffset << 1);> wordval = ((UINT)*ptrPhysMem << 8) | ((UINT)*(ptrPhysMem
+ 1)); >> return(wordval);>}>>void C1553::WriteRam(USINT wordoffset, USINT
wordval)>{> char byteval = (char)wordval;> char *ptrPhysicalMem = m_ptrPhysicalAddr;>>
ptrPhysicalMem += (wordoffset << 1); > *ptrPhysicalMem = byteval;> ptrPhysicalMem
++; > byteval = (char)(wordval >> 8);> *ptrPhysicalMem = byteval;>}>>This
is how I am using them.>>void C1553::Reset()>{> UINT intLogEntry;
// Interrupt Log Entry Address> > outp(m_baseport, 0x03);
// Enable board in 8 bit>data transfer mode> //
32K word memory size> // Check to see if master reset is set> if (ReadRam(HOST_CONTROL_REG)
& 1)> {> sprintf(msg, "%s1553 Interface Card Not enabled. %s\n",> msg,
"ASF Master Reset Signal is not active.");> MessageBox(NULL, msg, "Fatal
Error!", MB_OK);> }>> WriteRam(HOST_CONTROL_REG, 0); //
Reset master reset> Delay(CARDRESETENDTIME); // Wait for card
to come out of>reset mode>> WriteRam(HOST_CONTROL_REG, 0x08);
// Clear pending interrupts> WriteRam(HOST_CONTROL_REG, 0x040); // LED0
ON> WriteRam(HOST_CONTROL_REG, 0x080); // LED0 OFF AND LED1 ON> WriteRam(HOST_CONTROL_REG,
0); // LEDs OFF > WriteRam(VARIABLE_VOLT_REG, 0xF0); // Turn
on max voltage>> for (intLogEntry = INTLOGBASEADDRESS + 2; // Initialize
each Interrupt> intLogEntry < INTLOGMAXADDRESS; intLogEntry += 3)
// Log List>entry's> {
> // tail
pointer to> WriteRam(intLogEntry, intLogEntry + 1); // next cell
address> WriteRam(intLogEntry - 2, 0); // Zero Interrupt Status
Word> WriteRam(intLogEntry - 1, 0); // Zero Command Block Pointer>
}> WriteRam(intLogEntry - 3, INTLOGBASEADDRESS); // Make circular
list> WriteRam(INT_LOG_LIST_POINTER_REG, INTLOGBASEADDRESS); // Point
to list>start>>}>>void C1553::LoadMessage(struct message1553 *message)>{>
int datawordnum; // Data word number> int
numofdatawords; // Data words in this message>
UINT baseaddr = message->headpointer; // 1553 card address where>this
message is to be placed>> WriteRam(CONTROL_REG, m_controlreg); //
Set card as Bus Controller>> WriteRam(baseaddr, baseaddr);
// Head Pointer> WriteRam(baseaddr + 1, message->controlword); //
Control Word> WriteRam(baseaddr + 2, message->commandword[0]); // Comand
word 1> WriteRam(baseaddr + 3, message->commandword[1]); // Comand word 2>
WriteRam(baseaddr + 4, baseaddr + 8); // Data Pointer> WriteRam(baseaddr
+ 5, NOSTATUSWORD); // Status word 1> WriteRam(baseaddr + 6, NOSTATUSWORD);
// Status word 2> WriteRam(baseaddr + 7, message->tailpointer); //
Tail Pointer>> if (!(message->commandword[0] & 0x0400)) // If this
is a receive command> { // load
proper # of data>words> baseaddr = message->headpointer + 8;
// Point to datawords> numofdatawords = message->commandword[0] &
0x1F;> if (numofdatawords == 0)> numofdatawords = 32;>
for (datawordnum = 0; datawordnum < numofdatawords; datawordnum++)>
WriteRam(baseaddr + datawordnum, message->dataword[datawordnum]);>
}>}>>int C1553:endMessage(struct message1553 *message, char *msg)>{>
CTimeCounter sendmsgtc; // Send message time counter>
int datawordnum; // Data word number> int
numofdatawords; // # of data words in message>
UINT baseaddr = message->headpointer; // 1553 card addr where>msg
at> unsigned long sendtime = 0; // Time since msg being>sent>>
// If Hardware failure or MRST is set> if ((ReadRam(HOST_STATUS_REG)
& 1) || ((ReadRam(HOST_STATUS_REG) >> 1)>& 1))> {> sprintf(msg, "%s1553
Transmission ERROR. Hardware failure or %s\n",> msg, "ASF Master Reset
Signal active.");> return(FALSE); // Indicate
message error> }>>WriteRam(CURRENT_COMMAND_REG, message->headpointer);>WriteRam(POLLING_COMPARE_REG,
0); // Disable polling>WriteRam(HIGH_PRIORITY_EN_REG, 0);
// Disable priority interrupts>WriteRam(CONTROL_REG, m_controlreg
| 1); // Start Enable Ready>WriteRam(CONTROL_REG, m_controlreg | 1);
// Start Enable Run>sendmsgtc.Reset(); //
Reset elapsed time counter>while (sendtime <= MAXSINGLEMESSAGESENDTIME)>{
// While not reached max time>
sendtime = sendmsgtc.MsecsElapsed(); // Time since send began>>
if (ReadRam(STATUS_REG) & 1) // If Command not complete,>
continue; // wait for command to>complete.>>
if ((ReadRam(message->headpointer + 1) & 0x8000) || // If message>error>
(ReadRam(message->headpointer + 5) == NOSTATUSWORD))> {>
if (ReadRam(message->headpointer + 5) == NOSTATUSWORD)>
{ // If no status word received>
sprintf(msg, "%s1553 Transmission ERROR. No RT status word>%s\n",>
msg, "received.");> }> else
// If status word received> {>
sprintf(msg, "%s1553 Transmission ERROR. RT status %s %04X.\n",>
msg, "word was", ReadRam(message->headpointer + 5));>
}> return(FALSE); // Indicate
message error> }>> if (message->commandword[0] & 0x0400)
// If this is a transmit>command> {
// read proper # of data>words> baseaddr = message->headpointer
+ 8; // Point to datawords> numofdatawords = message->commandword[0]
& 0x1F;> if (numofdatawords == 0)> numofdatawords = 32;>
for (datawordnum = 0; datawordnum < numofdatawords; datawordnum++)>
message->dataword[datawordnum] = ReadRam(baseaddr + datawordnum);>
}> return(TRUE); // Successful>
}> sprintf(msg, "%s1553 Timeout ERROR. Status register indicates command>%s",>
msg, "did not complete execution.\n");> return(FALSE);
// Timed out before successful>>}>>The following
calls are made in the C1553 destructor outp(m_baseport, 0x00);
// Disable the 1553 card> UnMapPhysicalMemory (m_mapHandle);>>This
all works fine and I get no errors during execution of these commands.> However,
when I use these commands to verify that the UUT is in transfer>mode by reading
the dataword array of the 1553message structure, I find that>dataword[0]
(the so-called headerword) is correctly returned and dataword[1]>has 0x8000
in it, but dataword [2] (which has the transfer mode bit) has>no data in
it at all. In fact, the other data words returned in the array>are all zeros.
I have tried various alignments using #pragma pack(0-8) statements>around
the 1553message structure definition, but to no avail. Since the>variables
in the structure are UINT's, does this really matter? What could>be causing
this problem?>>Thanks for your help,>>Jeff Green>Raytheon Missile Systems
Company>Bldg. M20, M/S P17>PO Box 11337>Tucson, AZ 85734-1337>520-663-7540>FAX
520-663-6847 -
Hi,
I am using collect tool from Sun Studio 12, i used it succeccfully on my system using 64-bit Sun JDK 1.6
but when i try to use it to collect Hardware counter data using 32-bit jvm it failes and shows error while i trying to analyze collect data using "Analyzer" tool
The error message it shows is *"test.1.er***Collector Error: Initializing Hardware counter profiling failed"*
OS version
$ uname -a
Linux m02 2.6.18-92.el5.src-PAPI #1 SMP Tue Jan 27 10:57:40 CET 2009 x86_64 x86_64 x86_64 GNU/Linux
Java version (32-bit version that is not working)
]$ java -version
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)
the other Java version that is working fine (64-bit version)
]$ java -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)
collect command output
]$ collect
NOTE: Linux-64-bit, 32 CPUs, CentOS_5.2 system "mi02" is supported by the Performance tools.
NOTE: The J2SE[tm] version 1.6.0_10 found at java (picked by PATH) is supported by the Performance tools.
usage: collect <args> target <target-args>
Sun Analyzer 7.7 Linux_i386 2009/06/03 [64-bit]
-p <interval> specify clock-profiling
clock profiling interval range on this system is from
10.000 to 1000.000 millisec.; resolution is 10.000 millisec.
-h <ctr_def>...[,<ctr_n_def>]
specify HW counter profiling for up to 4 HW counters
see below for more details
-s <threshold> specify synchronization wait tracing
-r <option> specify thread analyzer experiment; see man page
-H {on|off} specify heap tracing
-M {version|off} specify an MPI experiment
Supported MPI versions: CT8.2, CT8.1, CT8, CT7, CT7.1, OPENMPI, MPICH2, MVAPICH2
-m {on|off} specify MPI tracing
-j {on|off|path} specify Java profiling
-J <java-args> specify arguments to Java for Java profiling
-t <duration> specify time over which to record data
-x specify leaving the target waiting for a debugger attach
-n dry run -- don't run target or collect performance data
-y <signal>[,r] specify delayed initialization and pause/resume signal
When set, the target starts in paused mode;
if the optional r is provided, it starts in resumed mode
-F {on|off|all|=<regex>} specify following descendant processes
-A {on|off|copy} specify archiving of load-objects; default is on
-S <interval> specify periodic sampling interval (secs.)
-L <size> specify experiment size limit (MB.)
-l <signal> specify signal for samples
-o <expt> specify experiment name
-d <directory> specify experiment directory
-g <groupname> specify experiment group
-O <file> redirect all of collect's output to file
-v print expanded log of processing
-C <label> specify comment label (up to 10 may appear)
-R show the README file and exit
-V print version number and exit
Default experiment:
expt_name = test.3.er
clock profiling enabled, 10.000 millisec.
descendant processes will not be followed
periodic sampling, 1 secs.
experiment size limit 2000 MB.
experiment archiving: on
data descriptor: "p:10000;S:1;L:2000;A:1;"
host: `m02', cpuver = 2501, ncpus = 32, clock frequency 1200 MHz.
memory: 16518000 pages @ 4096 bytes = 64523 MB.
Specifying HW counters on `AMD Family 10h':
<ctr_def> == [+]<ctr>[~<attr>=<val>]...[~<attrN>=<valN>][/<reg#>][,<interval>]
<+>
for memory-related counters, attempt to backtrack to find
the triggering instruction and the virtual and physical
addresses of the memory reference
<ctr>
counter name, must be selected from the available counters
listed below. On most systems, if a counter is not listed
below, it may still be specified by its numeric value
<attr>=<val>
optional attribute where <val> can be in decimal or hex
format, and <attr> can be one of:
'umask'
'os'
'edge'
'pc'
'inv'
'cmask'
<reg#>
forces use of a specific hardware register. If not specified,
collect will attempt to place the counter into the first
available register and as a result, may be unable to place
subsequent counters due to register conflicts.
<interval> == {on|hi|lo|<value>}
`on' selects the default rate, listed below
`hi' specifies an interval ~10 times shorter than `on'
`lo' specifies an interval ~10 times longer than `on'
Aliased HW counters available for profiling:
cycles[/{0|1|2|3}],99999989 (`CPU Cycles', alias for BU_cpu_clk_unhalted; CPU-cycles)
insts[/{0|1|2|3}],9999991 (`Instructions Executed', alias for FR_retired_x86_instr_w_excp_intr; events)
ic[/{0|1|2|3}],100003 (`I$ Refs', alias for IC_fetch; events)
icm[/{0|1|2|3}],100003 (`I$ Misses', alias for IC_miss; events)
itlbh[/{0|1|2|3}],100003 (`ITLB Hits', alias for IC_itlb_L1_miss_L2_hit; events)
itlbm[/{0|1|2|3}],100003 (`ITLB Misses', alias for IC_itlb_L1_miss_L2_miss; events)
eci[/{0|1|2|3}],1000003 (`E$ Instr. Refs', alias for BU_internal_L2_req~umask=0x1; events)
ecim[/{0|1|2|3}],10007 (`E$ Instr. Misses', alias for BU_fill_req_missed_L2~umask=0x1; events)
dc[/{0|1|2|3}],1000003 (`D$ Refs', alias for DC_access; load events)
dcm[/{0|1|2|3}],100003 (`D$ Misses', alias for DC_miss; load events)
dtlbh[/{0|1|2|3}],100003 (`DTLB Hits', alias for DC_dtlb_L1_miss_L2_hit; load-store events)
dtlbm[/{0|1|2|3}],100003 (`DTLB Misses', alias for DC_dtlb_L1_miss_L2_miss; load-store events)
ecd[/{0|1|2|3}],1000003 (`E$ Data Refs', alias for BU_internal_L2_req~umask=0x2; load-store events)
ecdm[/{0|1|2|3}],10007 (`E$ Data Misses', alias for BU_fill_req_missed_L2~umask=0x2; load-store events)
fpadd[/{0|1|2|3}],1000003 (`FP Adds', alias for FP_dispatched_fpu_ops~umask=0x1; events)
fpmul[/{0|1|2|3}],1000003 (`FP Muls', alias for FP_dispatched_fpu_ops~umask=0x2; events)
fpustall[/{0|1|2|3}],1000003 (`FPU Stall Cycles', alias for FR_dispatch_stall_fpu_full; CPU-cycles)
memstall[/{0|1|2|3}],1000003 (`Memory Unit Stall Cycles', alias for FR_dispatch_stall_ls_full; CPU-cycles)
PAPI_l1_dcm[/{0|1|2|3}],100003 (`Level 1 data cache misses'; load-store events)
PAPI_l1_icm[/{0|1|2|3}],100003 (`Level 1 instruction cache misses'; events)
PAPI_l2_dcm[/{0|1|2|3}],100003 (`Level 2 data cache misses'; load-store events)
Raw HW counters available for profiling:
*...... { I removed raw counter list to shorten this post}*
See section 3.15 of the "BIOS and Kernel Developer's Guide (BKDG) For AMD Family 10h Processors,"
AMD publication #31116
See the collect.1 man page for more information
analyzer tool version
$ analyzer -v
analyzer: Sun Analyzer 7.7 Linux_i386 2009/06/03
Any idea what is wrong with my configuration? Can we use collect for 32-bit and java apps?
Thanks a lot
Edited by: allo6 on Aug 20, 2009 3:25 AMhi,
how to compile 32 bits libraries on a Centos5 64 bits running on AMD 64 bits (Family 10h)
running
make CC="gcc -m32" CFLAGS="-m32" LDFLAGS="-m32" ARCH=i386
or just
make CC="gcc -m32" CFLAGS="-m32" LDFLAGS="-m32" generate a 32 bit version
/usr/local/perfctr32/lib/libperfctr.so.5.2.6.35: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
but the "collect"command (from sun studio for collecting HW values) returns HW counter not suported.
the above generated library is 32 bit but it is intel architecture, The architecture i have is AMD, what "ARCH" flag to spefify for this
if i do not specify any ARCH value there there is this error in the make command
ake[4]: Entering directory `perfctr-2.6.x/examples/perfex'
gcc -m32 -m32 perfex.o x86.o ../../usr.lib/libperfctr.a -o perfex
../../usr.lib/libperfctr.a(event_set_x86.o):(.rodata+0x24): undefined reference to `perfctr_p5_event_set'
../../usr.lib/libperfctr.a(event_set_x86.o):(.rodata+0x28): undefined reference to `perfctr_p5mmx_event_set'
../../usr.lib/libperfctr.a(event_set_x86.o):(.rodata+0x2c): undefined reference to `perfctr_ppro_event_set'
../../usr.lib/libperfctr.a(event_set_x86.o):(.rodata+0x30): undefined reference to `perfctr_p2_event_set'
../../usr.lib/libperfctr.a(event_set_x86.o):(.rodata+0x34): undefined reference to `perfctr_p3_event_set'
../../usr.lib/libperfctr.a(event_set_x86.o):(.rodata+0x38): undefined reference to `perfctr_mii_event_set' -
HI
GURUS
WHAT are the stanaard reports availble in sap
in relating to tax purpose
i mean all tax reports
with regards
arunJ1INMIS Withholding Tax Information System
J1INAR Annual Return
J1I57AE New Monthly Returns Report Rule 57AE
J1I6 CENVAT forecast
J2I8 Avail.of subs credit for Cap Goods
J1I5 Update RG23A/C Issues and RG1
J2I9 New Monthly Returns Report Rule 57AE-CENVAT Reg
J2IN New RT-12 Report
J2IR23D Register RG23D
J2IRAP1 Print RG23A Part1
J2IRAP2 Print RG23A Part2
J2IRCP1 Register RG23C part1
J2IRCP2 Register RG23C Part2
J2IRG1 Register RG1
J2IRPLA Register PLA
J2IUN Fortnightly Utilization
J1I7 help for internally generated doc - List of Exc Invoice
J1ILN India localization
J1IA101 ARE1 Internal Document
J1I2 Sales Tax Register
Hope that all the above reports related to TDS, Excise, Sales Tax etc., -
Dear All,
We are implementing the trading business scenario for our client where the products are procured from abroad and then bought in at the clients place and then sold either locally or abroad again
With regards to this scenario RG23 D Register should get updated.However only the purchase details are getting updated,Sales details under the head (Customer whom goods are sold) are not getting updated at all.
I am running the transaction code J1IJ to update the register and the the input it asks are outbound delivery Excise Group and Series Group after giving the required inputs and clicking on enter the screen appears.Once I save this.The Following message appears
Excise Invoice Selection is not complete for the item 000010.
Please advice what needs to be done,since All duties from the sales side are stastical and only need to appear in the invoice I have not created any excise invoice for the same.I have only created a traded invoice.
Best Regards
Atul KeshavDear Atul,
however I want to know the routine would get copied from the import purchase order to the billing document or it will get copied from the sales order to the billing document."
It is not copied from either import purchase order or from the sales order. It gets copied from the outgoing excise invoice which you have created for depot in J1IJ transaction. This gets copied to the billing document if you have routine 356 assigned to all your excise condition types in pricing procedure.
Also will this routine work say if I have imported 10 Qts in my purchase order and sold only 5 Qtys in my Billing Document.Will all my taxes get copied on a pro rata basis in my billing document.
In billing what ever you the quantity which you have sold to the customer gets copied from the sales order line item. For your information the logic remains same as you mentioned but it does not happen in billing document. Below how this works
Say for example you have imported 100 quantit for 10000 rupees. For which you have created JIIG incoming invoice for reciepts. Here say for example you have paid the excise duty as follows:- BED is 1400 ECS 28 and SeCess 14.
Now you have created sales order say for example 10 quantity . While selling you might charge the customer for each quantity 200 rupess. Total amount is 2000. Now in your sales order you can see BED as 240, ECS 5 and SeCess 3 rupees. But while creating out going excise inoice for depot in transaction you will have to refer the incoming exicse invoice created in J1IG.
Now when you refer this system automatically pro-rate this in your outgoing excise invoice J1IJ. That is BED 140 ECS3 and SeCess 1. Same is getting copied to billing document.
Regards
MBS
Maybe you are looking for
-
My MacBook keeps shutting down
I bought my MacBook in August so it is very new. Recently it has started to shut down after about 5-10 minutes of use. I read on the main page about an update but it is for older operating systems and tells me that my computer doesn't need the update
-
What can I do? + My apps won't work. They seem to open and directally after that close. What can I do? sobbz
-
I have a requiremnt to convert a smartform output generated to Word format. Apart from the font sizes, i have a logo generated in smartform which also needs to be converted in that word. Can anyone know about this or have done this requirement then p
-
Mail budget availability control
Hi guru, I have the following problem. I would like to send an email when the budget limit on internal order is exceeded. Is tehere any way to send the email not only to person responsible but also to other receivers? For example: 1) mail ti person r
-
Is it possible to track the window closing event on iPad ? This is when a user closes a window from the minimized/grid view on the iPad. In other words, I want to track the equivalent of onbbeforeunload or onunload events which are used to track wind