Question to Kashmir or anybody;

SRM

Registered Users (C)
Hi Kashmir,
I hear your name a lot in all the 485 threads. I have a question running the 485 macro.

I am not a well known java person. But i have a hands on exp in java.

Here are the steps i did.

1) I hava downloaded the kashmir3.zip on to the root
directory (c:\).

2) I downloaded the jdk1.1.8 version at the c:\.


3) I set the path to c:\jdk1.1.8\bin;


4) I have added the kashmir.zip to classpath. for example like this set classpath=%classpath%;c:\kashmir.zip;

5) finally i run the command as follows;

c:\ java -jar kashmir3.zip src0303555...

I am getting the following error.


C:\>java -jar kashmir3.zip src0303555....
-jar: illegal argument
usage: java [-options] class

where options include:
-help print out this message
-version print out the build version
-v -verbose turn on verbose mode
-debug enable remote JAVA debugging
-noasyncgc don't allow asynchronous garbage collection
-verbosegc print a message when garbage collection occurs
-noclassgc disable class garbage collection
-ss<number> set the maximum native stack size for any thread
-oss<number> set the maximum Java stack size for any thread
-ms<number> set the initial Java heap size
-mx<number> set the maximum Java heap size
-classpath <directories separated by semicolons>
list directories in which to look for classes
-prof[:<file>] output profiling data to .\java.prof or .\<file>
-verify verify all classes when read in
-verifyremote verify classes read in over the network [default]
-noverify do not verify any class
-nojit disable JIT compiler





Can anybody help me out step by step please!!!!!!.
 
Kashmir,
Thanks for the info. Now i am getting this message.
C:\>java -jar kashmir3.zip src0303555081
Exception in thread "main" java.net.MalformedURLException: unknown protocol: htt
ps
at java.net.URL.<init>(URL.java:480)
at java.net.URL.<init>(URL.java:376)
at java.net.URL.<init>(URL.java:330)
at kashmir.Kashmir3.<init>(Kashmir3.java:17)
at kashmir.Kashmir3.main(Kashmir3.java:127)
 
Old version of J2SE or JDK doesn't support HTTPS.
In my understanding, you need version 1.4 or later.
 
Originally posted by kashmir
Old version of J2SE or JDK doesn't support HTTPS.
In my understanding, you need version 1.4 or later.


Dear Kashmir,
Finally i am able to run the package.

I typed the following command at the command prompt.

java -jar kashmir.zip src0303355000


It has been displaying the cases one by one with their type.

How far does it go. or what happens next

or

Do i have to type like this.

java -jar kashmir3.zip src0303355000 1000

where 1000 stands for no of cases i want to scan???

I need this one final help??
 
Hi, SRM,

> Do i have to type like this
> java -jar kashmir3.zip src0303355000 1000
> where 1000 stands for no of cases i want to scan???

Yes.
For the above example, you can scan SRC-03-033-55000 thru SRC-03-033-55999.

I recommend to redirect its output to a file.
% java -jar kashmir3.zip SRC0303355000 1000 > xxx
or
% java -jar kashmir3.zip SRC0303355000 1000 | tee xxx

Most of cases are NOT I485.
You can get the list of only I485 cases.
% grep I485 xxx > yyy

> I typed the following command at the command prompt.
> java -jar kashmir.zip src0303355000
> It has been displaying the cases one by one with their type.
> How far does it go. or what happens next

You can use the above file as input.
% cat yyy | java -jar kashmir1.zip > zzz
or
% cat yyy | java -jar kashmir1.zip | tee zzz
You can get updated status in new file.

The above examples are for UNIX,
but I think you can do almost the same on Windows even though I am not familier.

Also, my zip files include source code, and you can freely modify them and use yours.
Good luck,
-kashmir
 
Project Kashmir is a kind of prototype.
Project Anaconda will support a lot of sophisticated features.
-kashmir
 
Should I make Project Anaconda Open source? I would be happy
to. I mean people can do lot of stuff with my library. But without
knowing 485 case numbers it becomes a long process.

I can do the following.

Post a distribution of Project Anaconda without the 485 case
numbers and my good proxies.

It involves knowing Ant build file and Java. I use Intellij but
people can use just about anything else.

Using Project Anaconda people can scan entire series and document numbers of valid 485 cases.

They can then run a series scan.

Lastly Project Anaconda supports some reporting infrastructure.

The cycling through proxies is very transparent. Everything in
Project Anaconda can be controlled through config files.

What do you say Kashmir? Will that be good for all of us? In
that case I can publish a distribution after documenting it.
 
I have two comments.

1) proxy servers

> Post a distribution of Project Anaconda without the 485 case numbers and my good proxies.

Do you mean NEITHER I485 case numbers NOR your proxy servers list would be distributed ?

If the list of proxy servers would be open and if many people would use them, those proxy servers would not work.

2) a lot of scans ... ?

Many people seem to be afraid that the USCIS Case Status Onlline might be damaged due to a lot of quiries and that the USCIS might close it.
I don't think it would happen,
but you may hear the above concern from many people at the forum.

-kashmir
Originally posted by jokerpoker_us
Should I make Project Anaconda Open source? I would be happy
to. I mean people can do lot of stuff with my library. But without
knowing 485 case numbers it becomes a long process.

I can do the following.

Post a distribution of Project Anaconda without the 485 case
numbers and my good proxies.

It involves knowing Ant build file and Java. I use Intellij but
people can use just about anything else.

Using Project Anaconda people can scan entire series and document numbers of valid 485 cases.

They can then run a series scan.

Lastly Project Anaconda supports some reporting infrastructure.

The cycling through proxies is very transparent. Everything in
Project Anaconda can be controlled through config files.

What do you say Kashmir? Will that be good for all of us? In
that case I can publish a distribution after documenting it.
 
Yes I said I would post it without the proxy list and the valid
numbers. People will have to find their own proxies and people
would have to find the valid numbers for a series.

Project Anaconda stores numbers for a series or one day in
a file. So lets assume someone who is just interested in the series

wac02 050 5XXXX can run a scan for that series which finds valid
numbers for that series. Then they can go and run only report
for that series using the valid numbers.

But there is support for multiple series and all kinds of things.

Plus it has a simple to use Swing GUI on top of it.

So assuming lot of people have Java knowledge they would
be running this app and that might hit the BCIS severs badly.

The simplicity of using an app makes it more dangerous for
misuse. The scanning to find valid numbers can make large
number of hits. Though Project Anaconda is smart about doing
this.

I am sure that is a concern.
 
Top