Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8519457
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T06:15:15+00:00 2026-06-11T06:15:15+00:00

I want to generate jsb3 files from a url like http://example.com/home . Its protected.

  • 0

I want to generate jsb3 files from a url like http://example.com/home. Its protected. Only logged in user can see this. People login in http://example.com/. The control panel (after login the ‘/home’) is fully writen in ExtJS. Sencha tools can not access it as it does not have the cookie.

How can I create JSB3 file for such url?

I usually do this by

sencha create jsb -a http://example.com/home -p home.jsb3

But sencha needs to login. if there is a way to use existing cookie header. I could have used that.

An option to fix it is to download the url as a file and feed sencha this file as a local file. But it has problems. sencha throws error!

$ sencha create jsb -a home.html -p home.jsb3
Error thown from your application with message: TypeError: 'null' is not a constructor
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T06:15:17+00:00Added an answer on June 11, 2026 at 6:15 am

    This is going to depend on your application environment. I have the same issue in a java environment and here’s how we work around it. You may be able to use a similar solution in your situation.

    Our auth is managed by Shiro, so in our case that’s where we work around anonymous users. Shiro reads security information from a file that lists URLs and user roles that are allowed to access them. Our configuration looks for that file in a standard location. This is where we place the real security settings. We can override that location by setting JVM properties when we launch the java server.

    When we want to run sencha create, we launch a java server that points to a custom security file that allows anonymous access to all resources. Now, phantom.js can load the page without authorization. (phantom.js the headless browser that sencha create uses to load the page).

    We then run sencha create exactly as you specify above.

    The downside to this is that we must make sure our applications do not throw exceptions for anonymous users. Even though our applications will always require authentication, we need to make sure all of our JavaScript is properly loaded for anonymous users.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to generate URL like.. It should include two IDs with employer and
I want to generate a url from a tag name. In my view (asp.net
I want to generate a list of files where the name consists of ${filename}.${date}
I want to generate an HTML table from a couple specified parameters. Specifically, the
I want to generate a bar graph from from a csv file my data
I want to generate a LaTeX document from Objective-C and compile it with pdfLatex
I want to generate geoJson data for an country and its all the states.
I want to generate facelets code from UIComponent, Eg: org.primefaces.component.commandbutton.CommandButton; CommandButton btn=new CommandButton(); btn.setValue(Click);
I want to generate incremental receipt numbers like this format 00000001. Every time new
I want to generate xml file from Struts action object. So that I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.